diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-06-11 07:04:53 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-06-11 07:04:53 +0400 |
commit | 4f2e01d20a8027cf545613d883e4ef22267c1cc1 (patch) | |
tree | f065435c1eed3716d834f30886ceb95140214116 /plugins/Actions/Segment.php | |
parent | fca3bf825184cf0ddc3b9edcac0d90c95802afbf (diff) |
starting to refactor reports into classes, also refactored some more dimensions which is still not 100% working and needs more work
Diffstat (limited to 'plugins/Actions/Segment.php')
-rw-r--r-- | plugins/Actions/Segment.php | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/plugins/Actions/Segment.php b/plugins/Actions/Segment.php new file mode 100644 index 0000000000..58d7ddf913 --- /dev/null +++ b/plugins/Actions/Segment.php @@ -0,0 +1,37 @@ +<?php +/** + * Piwik - Open source web analytics + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + * + */ +namespace Piwik\Plugins\Actions; + +use Piwik\API\Request; +use Piwik\ArchiveProcessor; +use Piwik\Common; +use Piwik\Db; +use Piwik\MetricsFormatter; +use Piwik\Piwik; +use Piwik\Plugin\ViewDataTable; +use Piwik\Plugins\CoreVisualizations\Visualizations\HtmlTable; +use Piwik\Site; + +/** + * Actions plugin + * + * Reports about the page views, the outlinks and downloads. + * + */ +class Segment extends \Piwik\Plugin\Segment +{ + protected function init() + { + parent::init(); + + $this->setCategory('General_Actions'); + $this->setSqlFilter('\\Piwik\\Tracker\\TableLogAction::getIdActionFromSegment'); + } +} + |