diff --git a/plugins/Events/Reports/GetActionFromCategoryId.php b/plugins/Events/Reports/GetActionFromCategoryId.php index e5de6af9cac78b8d599572da3d34f65ac756393f..c6fc362f6d42bcffa9f8597483e75302065fc0b7 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 55bd628459ab946495ba185b3acf4911e6f52afe..3b4882ee39411b63bd461d8dd109c5f6eceb4d91 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 51f5f6918d5ae2d66776e075372a5d02c5192b3d..a592ab24e078a479a8b0a408a0f51d19ab516d7e 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 4806c97d0f00102a5103f255fb51710d8095abef..caf7119a549c60533f36ff1099e6803ef3b1b458 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 7b4899b672d694728effd8d7e59550e4b8407d65..403d252b6564fe422263d916c13000327858f606 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 d1f43f7931cec39bdd795be54fe254953ab93609..ee951e03bf9abda0e40f70913b5f4a6eb3fe1d67 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