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-13 11:59:45 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-06-13 11:59:45 +0400
commitfccdcc0c2c9416a283d35feb89fa689f9a32fcae (patch)
tree8157e7430be6d69c002aaee6ed65aff28360ed81 /plugins/CoreHome/Segment.php
parent83ee5a47ebf6227d7e0b898d506f230f07d9d815 (diff)
moved more logic from core to plugins
Diffstat (limited to 'plugins/CoreHome/Segment.php')
-rw-r--r--plugins/CoreHome/Segment.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/CoreHome/Segment.php b/plugins/CoreHome/Segment.php
new file mode 100644
index 0000000000..7b6f2fbf57
--- /dev/null
+++ b/plugins/CoreHome/Segment.php
@@ -0,0 +1,21 @@
+<?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\CoreHome;
+
+/**
+ * CoreHome segment base class
+ */
+class Segment extends \Piwik\Plugin\Segment
+{
+ protected function init()
+ {
+ $this->setCategory('General_Visit');
+ }
+}
+