Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-06-11 07:04:53 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-06-11 07:04:53 +0400
commit4f2e01d20a8027cf545613d883e4ef22267c1cc1 (patch)
treef065435c1eed3716d834f30886ceb95140214116 /plugins/Actions/Segment.php
parentfca3bf825184cf0ddc3b9edcac0d90c95802afbf (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.php37
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');
+ }
+}
+