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:
authordiosmosis <benaka@piwik.pro>2015-10-20 02:49:36 +0300
committerdiosmosis <benaka@piwik.pro>2015-10-20 02:49:36 +0300
commited35d1835cf024366eb1c712cfaacbef88d95fd9 (patch)
tree6be80e31a219e9fcb10cf21d6c002a797d71b60f /plugins/Events
parent40f8b6b6a6f27100a24fe71f13fa4c34cd542501 (diff)
Make sure subtable reports for Events include correct processed metrics.
Diffstat (limited to 'plugins/Events')
-rw-r--r--plugins/Events/Reports/GetActionFromCategoryId.php7
-rw-r--r--plugins/Events/Reports/GetActionFromNameId.php7
-rw-r--r--plugins/Events/Reports/GetCategoryFromActionId.php7
-rw-r--r--plugins/Events/Reports/GetCategoryFromNameId.php7
-rw-r--r--plugins/Events/Reports/GetNameFromActionId.php7
-rw-r--r--plugins/Events/Reports/GetNameFromCategoryId.php7
6 files changed, 24 insertions, 18 deletions
diff --git a/plugins/Events/Reports/GetActionFromCategoryId.php b/plugins/Events/Reports/GetActionFromCategoryId.php
index e5de6af9ca..c6fc362f6d 100644
--- a/plugins/Events/Reports/GetActionFromCategoryId.php
+++ b/plugins/Events/Reports/GetActionFromCategoryId.php
@@ -15,14 +15,15 @@ use Piwik\Plugins\Events\Columns\EventAction;
/**
* Report metadata class for the Events.getActionFromCategoryId class.
*/
-class GetActionFromCategoryId extends Report
+class GetActionFromCategoryId extends Base
{
protected function init()
{
- $this->category = 'Events_Events';
- $this->processedMetrics = false;
+ parent::init();
+
$this->dimension = new EventAction();
$this->name = Piwik::translate('Events_EventActions');
$this->isSubtableReport = true;
+ $this->widgetParams = array();
}
} \ No newline at end of file
diff --git a/plugins/Events/Reports/GetActionFromNameId.php b/plugins/Events/Reports/GetActionFromNameId.php
index 55bd628459..3b4882ee39 100644
--- a/plugins/Events/Reports/GetActionFromNameId.php
+++ b/plugins/Events/Reports/GetActionFromNameId.php
@@ -15,14 +15,15 @@ use Piwik\Plugins\Events\Columns\EventAction;
/**
* Report metadata class for the Events.getActionFromNameId class.
*/
-class GetActionFromNameId extends Report
+class GetActionFromNameId extends Base
{
protected function init()
{
- $this->category = 'Events_Events';
- $this->processedMetrics = false;
+ parent::init();
+
$this->dimension = new EventAction();
$this->name = Piwik::translate('Events_EventActions');
$this->isSubtableReport = true;
+ $this->widgetParams = array();
}
} \ No newline at end of file
diff --git a/plugins/Events/Reports/GetCategoryFromActionId.php b/plugins/Events/Reports/GetCategoryFromActionId.php
index 51f5f6918d..a592ab24e0 100644
--- a/plugins/Events/Reports/GetCategoryFromActionId.php
+++ b/plugins/Events/Reports/GetCategoryFromActionId.php
@@ -15,14 +15,15 @@ use Piwik\Plugins\Events\Columns\EventCategory;
/**
* Report metadata class for the Events.getCategoryFromActionId class.
*/
-class GetCategoryFromActionId extends Report
+class GetCategoryFromActionId extends Base
{
protected function init()
{
- $this->category = 'Events_Events';
- $this->processedMetrics = false;
+ parent::init();
+
$this->dimension = new EventCategory();
$this->name = Piwik::translate('Events_EventCategories');
$this->isSubtableReport = true;
+ $this->widgetParams = array();
}
} \ No newline at end of file
diff --git a/plugins/Events/Reports/GetCategoryFromNameId.php b/plugins/Events/Reports/GetCategoryFromNameId.php
index 4806c97d0f..caf7119a54 100644
--- a/plugins/Events/Reports/GetCategoryFromNameId.php
+++ b/plugins/Events/Reports/GetCategoryFromNameId.php
@@ -15,14 +15,15 @@ use Piwik\Plugins\Events\Columns\EventCategory;
/**
* Report metadata class for the Events.getCategoryFromNameId class.
*/
-class GetCategoryFromNameId extends Report
+class GetCategoryFromNameId extends Base
{
protected function init()
{
- $this->category = 'Events_Events';
- $this->processedMetrics = false;
+ parent::init();
+
$this->dimension = new EventCategory();
$this->name = Piwik::translate('Events_EventCategories');
$this->isSubtableReport = true;
+ $this->widgetParams = array();
}
} \ No newline at end of file
diff --git a/plugins/Events/Reports/GetNameFromActionId.php b/plugins/Events/Reports/GetNameFromActionId.php
index 7b4899b672..403d252b65 100644
--- a/plugins/Events/Reports/GetNameFromActionId.php
+++ b/plugins/Events/Reports/GetNameFromActionId.php
@@ -15,14 +15,15 @@ use Piwik\Plugins\Events\Columns\EventName;
/**
* Report metadata class for the Events.getNameFromActionId class.
*/
-class GetNameFromActionId extends Report
+class GetNameFromActionId extends Base
{
protected function init()
{
- $this->category = 'Events_Events';
- $this->processedMetrics = false;
+ parent::init();
+
$this->dimension = new EventName();
$this->name = Piwik::translate('Events_Names');
$this->isSubtableReport = true;
+ $this->widgetParams = array();
}
} \ No newline at end of file
diff --git a/plugins/Events/Reports/GetNameFromCategoryId.php b/plugins/Events/Reports/GetNameFromCategoryId.php
index d1f43f7931..ee951e03bf 100644
--- a/plugins/Events/Reports/GetNameFromCategoryId.php
+++ b/plugins/Events/Reports/GetNameFromCategoryId.php
@@ -15,14 +15,15 @@ use Piwik\Plugins\Events\Columns\EventName;
/**
* Report metadata class for the Events.getNameFromCategoryId class.
*/
-class GetNameFromCategoryId extends Report
+class GetNameFromCategoryId extends Base
{
protected function init()
{
- $this->category = 'Events_Events';
- $this->processedMetrics = false;
+ parent::init();
+
$this->dimension = new EventName();
$this->name = Piwik::translate('Events_EventNames');
$this->isSubtableReport = true;
+ $this->widgetParams = array();
}
} \ No newline at end of file