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
path: root/core/Menu
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 /core/Menu
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 'core/Menu')
-rw-r--r--core/Menu/MenuReporting.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/Menu/MenuReporting.php b/core/Menu/MenuReporting.php
index 08dcc23e82..c30e04016b 100644
--- a/core/Menu/MenuReporting.php
+++ b/core/Menu/MenuReporting.php
@@ -8,6 +8,7 @@
*/
namespace Piwik\Menu;
use Piwik\Piwik;
+use Piwik\Plugin\Report;
/**
* Contains menu entries for the Reporting menu (the menu displayed under the Piwik logo).
@@ -70,6 +71,10 @@ class MenuReporting extends MenuAbstract
foreach ($this->getAvailableMenus() as $menu) {
$menu->configureReportingMenu($this);
}
+
+ foreach (Report::getAllReports() as $report) {
+ $report->configureReportingMenu($this);
+ }
}
return parent::getMenu();