diff options
Diffstat (limited to 'plugins/CoreHome/Tracker')
-rw-r--r-- | plugins/CoreHome/Tracker/LogTable/Action.php | 30 | ||||
-rw-r--r-- | plugins/CoreHome/Tracker/LogTable/Conversion.php | 24 | ||||
-rw-r--r-- | plugins/CoreHome/Tracker/LogTable/ConversionItem.php | 25 | ||||
-rw-r--r-- | plugins/CoreHome/Tracker/LogTable/LinkVisitAction.php | 29 | ||||
-rw-r--r-- | plugins/CoreHome/Tracker/LogTable/Visit.php | 30 |
5 files changed, 138 insertions, 0 deletions
diff --git a/plugins/CoreHome/Tracker/LogTable/Action.php b/plugins/CoreHome/Tracker/LogTable/Action.php new file mode 100644 index 0000000000..fdb69e5ec6 --- /dev/null +++ b/plugins/CoreHome/Tracker/LogTable/Action.php @@ -0,0 +1,30 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + +namespace Piwik\Plugins\CoreHome\Tracker\LogTable; + +use Piwik\Tracker\LogTable; + +class Action extends LogTable +{ + public function getName() + { + return 'log_action'; + } + + public function getColumnToJoinOnIdAction() + { + return 'idaction'; + } + + public function getLinkTableToBeAbleToJoinOnVisit() + { + return 'log_link_visit_action'; + } + +} diff --git a/plugins/CoreHome/Tracker/LogTable/Conversion.php b/plugins/CoreHome/Tracker/LogTable/Conversion.php new file mode 100644 index 0000000000..e920864088 --- /dev/null +++ b/plugins/CoreHome/Tracker/LogTable/Conversion.php @@ -0,0 +1,24 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + +namespace Piwik\Plugins\CoreHome\Tracker\LogTable; + +use Piwik\Tracker\LogTable; + +class Conversion extends LogTable +{ + public function getName() + { + return 'log_conversion'; + } + + public function getColumnToJoinOnIdVisit() + { + return 'idvisit'; + } +}
\ No newline at end of file diff --git a/plugins/CoreHome/Tracker/LogTable/ConversionItem.php b/plugins/CoreHome/Tracker/LogTable/ConversionItem.php new file mode 100644 index 0000000000..566841b4fa --- /dev/null +++ b/plugins/CoreHome/Tracker/LogTable/ConversionItem.php @@ -0,0 +1,25 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + +namespace Piwik\Plugins\CoreHome\Tracker\LogTable; + +use Piwik\Tracker\LogTable; + +class ConversionItem extends LogTable +{ + public function getName() + { + return 'log_conversion_item'; + } + + public function getColumnToJoinOnIdVisit() + { + return 'idvisit'; + } + +} diff --git a/plugins/CoreHome/Tracker/LogTable/LinkVisitAction.php b/plugins/CoreHome/Tracker/LogTable/LinkVisitAction.php new file mode 100644 index 0000000000..cb102d407c --- /dev/null +++ b/plugins/CoreHome/Tracker/LogTable/LinkVisitAction.php @@ -0,0 +1,29 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + +namespace Piwik\Plugins\CoreHome\Tracker\LogTable; + +use Piwik\Tracker\LogTable; + +class LinkVisitAction extends LogTable +{ + public function getName() + { + return 'log_link_visit_action'; + } + + public function getColumnToJoinOnIdAction() + { + return 'idaction_url'; + } + + public function getColumnToJoinOnIdVisit() + { + return 'idvisit'; + } +} diff --git a/plugins/CoreHome/Tracker/LogTable/Visit.php b/plugins/CoreHome/Tracker/LogTable/Visit.php new file mode 100644 index 0000000000..f403c37697 --- /dev/null +++ b/plugins/CoreHome/Tracker/LogTable/Visit.php @@ -0,0 +1,30 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + +namespace Piwik\Plugins\CoreHome\Tracker\LogTable; + +use Piwik\Tracker\LogTable; + +class Visit extends LogTable +{ + public function getName() + { + return 'log_visit'; + } + + public function getColumnToJoinOnIdVisit() + { + return 'idvisit'; + } + + public function shouldJoinWithSubSelect() + { + return true; + } + +}
\ No newline at end of file |