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:
Diffstat (limited to 'plugins/Events/Reports/GetCategoryFromActionId.php')
-rw-r--r--plugins/Events/Reports/GetCategoryFromActionId.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/Events/Reports/GetCategoryFromActionId.php b/plugins/Events/Reports/GetCategoryFromActionId.php
new file mode 100644
index 0000000000..51f5f6918d
--- /dev/null
+++ b/plugins/Events/Reports/GetCategoryFromActionId.php
@@ -0,0 +1,28 @@
+<?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\Events\Reports;
+
+use Piwik\Piwik;
+use Piwik\Plugin\Report;
+use Piwik\Plugins\Events\Columns\EventCategory;
+
+/**
+ * Report metadata class for the Events.getCategoryFromActionId class.
+ */
+class GetCategoryFromActionId extends Report
+{
+ protected function init()
+ {
+ $this->category = 'Events_Events';
+ $this->processedMetrics = false;
+ $this->dimension = new EventCategory();
+ $this->name = Piwik::translate('Events_EventCategories');
+ $this->isSubtableReport = true;
+ }
+} \ No newline at end of file