diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2013-10-02 01:20:17 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2013-10-02 01:20:17 +0400 |
commit | f00d2f87b8b2c6a45e38c0c4eb5fd90eb919974b (patch) | |
tree | c44721afcded2d16cc9abf660d2be452e7d4f287 | |
parent | 2c5e854984ab6e989d41d366b961953fbb2defee (diff) |
refs #4134 use plural to indicate a developer can add multiple entries or widgets
39 files changed, 59 insertions, 59 deletions
diff --git a/core/Menu/Admin.php b/core/Menu/Admin.php index 575fdfc7d8..ef89c42c4f 100644 --- a/core/Menu/Admin.php +++ b/core/Menu/Admin.php @@ -32,14 +32,14 @@ class Admin extends MenuAbstract } /** - * Triggers the AdminMenu.addMenuEntry hook and returns the menu. + * Triggers the AdminMenu.addMenuEntries hook and returns the menu. * * @return Array */ public function get() { if (!$this->menu) { - Piwik_PostEvent('AdminMenu.addMenuEntry'); + Piwik_PostEvent('AdminMenu.addMenuEntries'); } return parent::get(); } diff --git a/core/Menu/Main.php b/core/Menu/Main.php index 1de8c506e2..fbaaf55337 100644 --- a/core/Menu/Main.php +++ b/core/Menu/Main.php @@ -51,7 +51,7 @@ class Main extends MenuAbstract } /** - * Triggers the Menu.addMenuEntry hook and returns the menu. + * Triggers the Menu.addMenuEntries hook and returns the menu. * * @return Array */ @@ -59,7 +59,7 @@ class Main extends MenuAbstract { // We trigger the Event only once! if (!$this->menu) { - Piwik_PostEvent('Menu.addMenuEntry'); + Piwik_PostEvent('Menu.addMenuEntries'); } return parent::get(); } diff --git a/core/Menu/Top.php b/core/Menu/Top.php index 3d110e715d..c4e70ca1bd 100644 --- a/core/Menu/Top.php +++ b/core/Menu/Top.php @@ -52,14 +52,14 @@ class Top extends MenuAbstract } /** - * Triggers the TopMenu.addMenuEntry hook and returns the menu. + * Triggers the TopMenu.addMenuEntries hook and returns the menu. * * @return Array */ public function get() { if (!$this->menu) { - Piwik_PostEvent('TopMenu.addMenuEntry'); + Piwik_PostEvent('TopMenu.addMenuEntries'); } return parent::get(); } diff --git a/core/WidgetsList.php b/core/WidgetsList.php index 83a3fdc8e2..01ac7f5178 100644 --- a/core/WidgetsList.php +++ b/core/WidgetsList.php @@ -31,7 +31,7 @@ class WidgetsList /** * Returns all available widgets - * The event WidgetsList.addWidget is used to create the list + * The event WidgetsList.addWidgets is used to create the list * * @return array */ @@ -56,7 +56,7 @@ class WidgetsList { if (!self::$hookCalled) { self::$hookCalled = true; - Piwik_PostEvent('WidgetsList.addWidget'); + Piwik_PostEvent('WidgetsList.addWidgets'); } } diff --git a/plugins/API/API.php b/plugins/API/API.php index 2779b0c22e..c4b8179e9a 100644 --- a/plugins/API/API.php +++ b/plugins/API/API.php @@ -649,7 +649,7 @@ class Plugin extends \Piwik\Plugin { return array( 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', - 'TopMenu.addMenuEntry' => 'addTopMenu', + 'TopMenu.addMenuEntries' => 'addTopMenu', ); } diff --git a/plugins/Actions/Actions.php b/plugins/Actions/Actions.php index ce5fe7c61c..bf78c166ea 100644 --- a/plugins/Actions/Actions.php +++ b/plugins/Actions/Actions.php @@ -56,8 +56,8 @@ class Actions extends \Piwik\Plugin $hooks = array( 'ArchiveProcessing_Day.compute' => 'archiveDay', 'ArchiveProcessor.Period.compute' => 'archivePeriod', - 'WidgetsList.addWidget' => 'addWidgets', - 'Menu.addMenuEntry' => 'addMenus', + 'WidgetsList.addWidgets' => 'addWidgets', + 'Menu.addMenuEntries' => 'addMenus', 'API.getReportMetadata' => 'getReportMetadata', 'API.getSegmentsMetadata' => 'getSegmentsMetadata', 'Visualization.getReportDisplayProperties' => 'getReportDisplayProperties', diff --git a/plugins/CoreAdminHome/CoreAdminHome.php b/plugins/CoreAdminHome/CoreAdminHome.php index 475cfa2035..b15d970cd5 100644 --- a/plugins/CoreAdminHome/CoreAdminHome.php +++ b/plugins/CoreAdminHome/CoreAdminHome.php @@ -32,7 +32,7 @@ class CoreAdminHome extends \Piwik\Plugin return array( 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', 'AssetManager.getJavaScriptFiles' => 'getJsFiles', - 'AdminMenu.addMenuEntry' => 'addMenu', + 'AdminMenu.addMenuEntries' => 'addMenu', 'TaskScheduler.getScheduledTasks' => 'getScheduledTasks', ); } diff --git a/plugins/CoreHome/CoreHome.php b/plugins/CoreHome/CoreHome.php index 4202cd48d3..23e276791f 100644 --- a/plugins/CoreHome/CoreHome.php +++ b/plugins/CoreHome/CoreHome.php @@ -26,7 +26,7 @@ class CoreHome extends \Piwik\Plugin return array( 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', 'AssetManager.getJavaScriptFiles' => 'getJsFiles', - 'WidgetsList.addWidget' => 'addWidgets', + 'WidgetsList.addWidgets' => 'addWidgets', 'Translate.getClientSideTranslationKeys' => 'getClientSideTranslationKeys' ); } diff --git a/plugins/CorePluginsAdmin/CorePluginsAdmin.php b/plugins/CorePluginsAdmin/CorePluginsAdmin.php index 66e9d9fca2..1ef77a962c 100644 --- a/plugins/CorePluginsAdmin/CorePluginsAdmin.php +++ b/plugins/CorePluginsAdmin/CorePluginsAdmin.php @@ -26,7 +26,7 @@ class CorePluginsAdmin extends \Piwik\Plugin public function getListHooksRegistered() { return array( - 'AdminMenu.addMenuEntry' => 'addMenu', + 'AdminMenu.addMenuEntries' => 'addMenu', 'AssetManager.getJavaScriptFiles' => 'getJsFiles', 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', 'TaskScheduler.getScheduledTasks' => 'getScheduledTasks', diff --git a/plugins/CustomVariables/CustomVariables.php b/plugins/CustomVariables/CustomVariables.php index 4fdf8537ca..fe7871d4c0 100644 --- a/plugins/CustomVariables/CustomVariables.php +++ b/plugins/CustomVariables/CustomVariables.php @@ -35,8 +35,8 @@ class CustomVariables extends \Piwik\Plugin $hooks = array( 'ArchiveProcessor.Day.compute' => 'archiveDay', 'ArchiveProcessor.Period.compute' => 'archivePeriod', - 'WidgetsList.addWidget' => 'addWidgets', - 'Menu.addMenuEntry' => 'addMenus', + 'WidgetsList.addWidgets' => 'addWidgets', + 'Menu.addMenuEntries' => 'addMenus', 'Goals.getReportsWithGoalMetrics' => 'getReportsWithGoalMetrics', 'API.getReportMetadata' => 'getReportMetadata', 'API.getSegmentsMetadata' => 'getSegmentsMetadata', diff --git a/plugins/DBStats/DBStats.php b/plugins/DBStats/DBStats.php index 367140ab24..aeb11e7d9b 100644 --- a/plugins/DBStats/DBStats.php +++ b/plugins/DBStats/DBStats.php @@ -32,7 +32,7 @@ class DBStats extends \Piwik\Plugin { return array( 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', - 'AdminMenu.addMenuEntry' => 'addMenu', + 'AdminMenu.addMenuEntries' => 'addMenu', 'TaskScheduler.getScheduledTasks' => 'getScheduledTasks', 'Visualization.getReportDisplayProperties' => 'getReportDisplayProperties', ); diff --git a/plugins/Dashboard/Dashboard.php b/plugins/Dashboard/Dashboard.php index ad877b2b7c..c94b3e6df5 100644 --- a/plugins/Dashboard/Dashboard.php +++ b/plugins/Dashboard/Dashboard.php @@ -31,8 +31,8 @@ class Dashboard extends \Piwik\Plugin 'AssetManager.getJavaScriptFiles' => 'getJsFiles', 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', 'UsersManager.deleteUser' => 'deleteDashboardLayout', - 'Menu.addMenuEntry' => 'addMenus', - 'TopMenu.addMenuEntry' => 'addTopMenu', + 'Menu.addMenuEntries' => 'addMenus', + 'TopMenu.addMenuEntries' => 'addTopMenu', 'Translate.getClientSideTranslationKeys' => 'getClientSideTranslationKeys' ); } diff --git a/plugins/DevicesDetection/DevicesDetection.php b/plugins/DevicesDetection/DevicesDetection.php index 9f91789035..11d99e87a9 100644 --- a/plugins/DevicesDetection/DevicesDetection.php +++ b/plugins/DevicesDetection/DevicesDetection.php @@ -63,9 +63,9 @@ class DevicesDetection extends \Piwik\Plugin return array( 'ArchiveProcessor.Day.compute' => 'archiveDay', 'ArchiveProcessor.Period.compute' => 'archivePeriod', - 'Menu.addMenuEntry' => 'addMenu', + 'Menu.addMenuEntries' => 'addMenu', 'Tracker.newVisitorInformation' => 'parseMobileVisitData', - 'WidgetsList.addWidget' => 'addWidgets', + 'WidgetsList.addWidgets' => 'addWidgets', 'API.getReportMetadata' => 'getReportMetadata', 'API.getSegmentsMetadata' => 'getSegmentsMetadata', 'Visualization.getReportDisplayProperties' => 'getReportDisplayProperties', diff --git a/plugins/ExamplePlugin/ExamplePlugin.php b/plugins/ExamplePlugin/ExamplePlugin.php index fe949149be..ccc6897465 100644 --- a/plugins/ExamplePlugin/ExamplePlugin.php +++ b/plugins/ExamplePlugin/ExamplePlugin.php @@ -25,7 +25,7 @@ class ExamplePlugin extends \Piwik\Plugin { return array( // 'Controller.renderView' => 'addUniqueVisitorsColumnToGivenReport', - 'WidgetsList.addWidget' => 'addWidgets', + 'WidgetsList.addWidgets' => 'addWidgets', ); } diff --git a/plugins/ExampleRssWidget/ExampleRssWidget.php b/plugins/ExampleRssWidget/ExampleRssWidget.php index 3059a2f348..136e0963e7 100644 --- a/plugins/ExampleRssWidget/ExampleRssWidget.php +++ b/plugins/ExampleRssWidget/ExampleRssWidget.php @@ -25,7 +25,7 @@ class ExampleRssWidget extends \Piwik\Plugin { return array( 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', - 'WidgetsList.addWidget' => 'addWidgets' + 'WidgetsList.addWidgets' => 'addWidgets' ); } diff --git a/plugins/ExampleUI/ExampleUI.php b/plugins/ExampleUI/ExampleUI.php index fa6fe548c5..08f0e66dff 100644 --- a/plugins/ExampleUI/ExampleUI.php +++ b/plugins/ExampleUI/ExampleUI.php @@ -33,7 +33,7 @@ class ExampleUI extends \Piwik\Plugin public function getListHooksRegistered() { $hooks = array( - 'Menu.addMenuEntry' => 'addMenus', + 'Menu.addMenuEntries' => 'addMenus', ); return $hooks; } diff --git a/plugins/Feedback/Feedback.php b/plugins/Feedback/Feedback.php index 94ea06222d..629df7e83f 100644 --- a/plugins/Feedback/Feedback.php +++ b/plugins/Feedback/Feedback.php @@ -26,7 +26,7 @@ class Feedback extends \Piwik\Plugin return array( 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', 'AssetManager.getJavaScriptFiles' => 'getJsFiles', - 'TopMenu.addMenuEntry' => 'addTopMenu', + 'TopMenu.addMenuEntries' => 'addTopMenu', 'Translate.getClientSideTranslationKeys' => 'getClientSideTranslationKeys' ); } diff --git a/plugins/Goals/Goals.php b/plugins/Goals/Goals.php index 213ec0f1a7..31172a444c 100644 --- a/plugins/Goals/Goals.php +++ b/plugins/Goals/Goals.php @@ -95,8 +95,8 @@ class Goals extends \Piwik\Plugin 'ArchiveProcessor.Period.compute' => 'archivePeriod', 'API.getReportMetadata.end' => 'getReportMetadata', 'API.getSegmentsMetadata' => 'getSegmentsMetadata', - 'WidgetsList.addWidget' => 'addWidgets', - 'Menu.addMenuEntry' => 'addMenus', + 'WidgetsList.addWidgets' => 'addWidgets', + 'Menu.addMenuEntries' => 'addMenus', 'SitesManager.deleteSite.end' => 'deleteSiteGoals', 'Goals.getReportsWithGoalMetrics' => 'getActualReportsWithGoalMetrics', 'Visualization.getReportDisplayProperties' => 'getReportDisplayProperties', diff --git a/plugins/Installation/Installation.php b/plugins/Installation/Installation.php index 0400e809f2..95bae08344 100644 --- a/plugins/Installation/Installation.php +++ b/plugins/Installation/Installation.php @@ -30,7 +30,7 @@ class Installation extends \Piwik\Plugin $hooks = array( 'Config.NoConfigurationFile' => 'dispatch', 'Config.badConfigurationFile' => 'dispatch', - 'AdminMenu.addMenuEntry' => 'addMenu', + 'AdminMenu.addMenuEntries' => 'addMenu', 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', ); return $hooks; diff --git a/plugins/LanguagesManager/LanguagesManager.php b/plugins/LanguagesManager/LanguagesManager.php index aa0b7f24c8..0ee99134ea 100644 --- a/plugins/LanguagesManager/LanguagesManager.php +++ b/plugins/LanguagesManager/LanguagesManager.php @@ -35,7 +35,7 @@ class LanguagesManager extends \Piwik\Plugin return array( 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', 'AssetManager.getJavaScriptFiles' => 'getJsFiles', - 'TopMenu.addMenuEntry' => 'showLanguagesSelector', + 'TopMenu.addMenuEntries' => 'showLanguagesSelector', 'User.getLanguage' => 'getLanguageToLoad', 'UsersManager.deleteUser' => 'deleteUserLanguage', 'Template.topBar' => 'addLanguagesManagerToOtherTopBar', diff --git a/plugins/Live/Live.php b/plugins/Live/Live.php index b59e010415..470d731249 100644 --- a/plugins/Live/Live.php +++ b/plugins/Live/Live.php @@ -44,8 +44,8 @@ class Live extends \Piwik\Plugin return array( 'AssetManager.getJavaScriptFiles' => 'getJsFiles', 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', - 'WidgetsList.addWidget' => 'addWidget', - 'Menu.addMenuEntry' => 'addMenu', + 'WidgetsList.addWidgets' => 'addWidget', + 'Menu.addMenuEntries' => 'addMenu', 'Visualization.getReportDisplayProperties' => 'getReportDisplayProperties', 'Translate.getClientSideTranslationKeys' => 'getClientSideTranslationKeys', ); diff --git a/plugins/MobileMessaging/MobileMessaging.php b/plugins/MobileMessaging/MobileMessaging.php index 77207d3f88..a2d6626151 100644 --- a/plugins/MobileMessaging/MobileMessaging.php +++ b/plugins/MobileMessaging/MobileMessaging.php @@ -67,7 +67,7 @@ class MobileMessaging extends \Piwik\Plugin public function getListHooksRegistered() { return array( - 'AdminMenu.addMenuEntry' => 'addMenu', + 'AdminMenu.addMenuEntries' => 'addMenu', 'AssetManager.getJavaScriptFiles' => 'getJsFiles', 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', 'PDFReports.getReportParameters' => 'getReportParameters', diff --git a/plugins/MultiSites/MultiSites.php b/plugins/MultiSites/MultiSites.php index 5285a5c045..e8a37d762c 100644 --- a/plugins/MultiSites/MultiSites.php +++ b/plugins/MultiSites/MultiSites.php @@ -34,7 +34,7 @@ class MultiSites extends \Piwik\Plugin return array( 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', 'AssetManager.getJavaScriptFiles' => 'getJsFiles', - 'TopMenu.addMenuEntry' => 'addTopMenu', + 'TopMenu.addMenuEntries' => 'addTopMenu', 'API.getReportMetadata' => 'getReportMetadata', ); } diff --git a/plugins/PDFReports/PDFReports.php b/plugins/PDFReports/PDFReports.php index e59c98b2a5..569068151c 100644 --- a/plugins/PDFReports/PDFReports.php +++ b/plugins/PDFReports/PDFReports.php @@ -78,7 +78,7 @@ class PDFReports extends \Piwik\Plugin public function getListHooksRegistered() { return array( - 'TopMenu.addMenuEntry' => 'addTopMenu', + 'TopMenu.addMenuEntries' => 'addTopMenu', 'TaskScheduler.getScheduledTasks' => 'getScheduledTasks', 'AssetManager.getJavaScriptFiles' => 'getJsFiles', 'PDFReports.getReportParameters' => 'getReportParameters', diff --git a/plugins/PrivacyManager/PrivacyManager.php b/plugins/PrivacyManager/PrivacyManager.php index 8cb2aa22b5..72d71e21e5 100644 --- a/plugins/PrivacyManager/PrivacyManager.php +++ b/plugins/PrivacyManager/PrivacyManager.php @@ -69,7 +69,7 @@ class PrivacyManager extends \Piwik\Plugin { return array( 'AssetManager.getJavaScriptFiles' => 'getJsFiles', - 'AdminMenu.addMenuEntry' => 'addMenu', + 'AdminMenu.addMenuEntries' => 'addMenu', 'TaskScheduler.getScheduledTasks' => 'getScheduledTasks', ); } diff --git a/plugins/Provider/Provider.php b/plugins/Provider/Provider.php index 73ccb727fd..10205685b2 100644 --- a/plugins/Provider/Provider.php +++ b/plugins/Provider/Provider.php @@ -34,8 +34,8 @@ class Provider extends \Piwik\Plugin 'ArchiveProcessor.Day.compute' => 'archiveDay', 'ArchiveProcessor.Period.compute' => 'archivePeriod', 'Tracker.newVisitorInformation' => 'logProviderInfo', - 'WidgetsList.addWidget' => 'addWidget', - 'Menu.addMenuEntry' => 'addMenu', + 'WidgetsList.addWidgets' => 'addWidget', + 'Menu.addMenuEntries' => 'addMenu', 'API.getReportMetadata' => 'getReportMetadata', 'API.getSegmentsMetadata' => 'getSegmentsMetadata', 'Visualization.getReportDisplayProperties' => 'getReportDisplayProperties', diff --git a/plugins/Referers/Referers.php b/plugins/Referers/Referers.php index 4b6dea3b57..3c809b0b6f 100644 --- a/plugins/Referers/Referers.php +++ b/plugins/Referers/Referers.php @@ -33,8 +33,8 @@ class Referers extends \Piwik\Plugin $hooks = array( 'ArchiveProcessor.Day.compute' => 'archiveDay', 'ArchiveProcessor.Period.compute' => 'archivePeriod', - 'WidgetsList.addWidget' => 'addWidgets', - 'Menu.addMenuEntry' => 'addMenus', + 'WidgetsList.addWidgets' => 'addWidgets', + 'Menu.addMenuEntries' => 'addMenus', 'Goals.getReportsWithGoalMetrics' => 'getReportsWithGoalMetrics', 'API.getReportMetadata' => 'getReportMetadata', 'API.getSegmentsMetadata' => 'getSegmentsMetadata', diff --git a/plugins/SEO/SEO.php b/plugins/SEO/SEO.php index ac4725bd9c..8be4199ad0 100644 --- a/plugins/SEO/SEO.php +++ b/plugins/SEO/SEO.php @@ -36,7 +36,7 @@ class SEO extends \Piwik\Plugin */ public function getListHooksRegistered() { - $hooks = array('WidgetsList.addWidget' => 'addWidgets'); + $hooks = array('WidgetsList.addWidgets' => 'addWidgets'); return $hooks; } diff --git a/plugins/SitesManager/SitesManager.php b/plugins/SitesManager/SitesManager.php index 13b97ce426..0de72da0ce 100644 --- a/plugins/SitesManager/SitesManager.php +++ b/plugins/SitesManager/SitesManager.php @@ -30,7 +30,7 @@ class SitesManager extends \Piwik\Plugin return array( 'AssetManager.getJavaScriptFiles' => 'getJsFiles', 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', - 'AdminMenu.addMenuEntry' => 'addMenu', + 'AdminMenu.addMenuEntries' => 'addMenu', 'Site.getSiteAttributes' => 'recordWebsiteDataInCache', 'Translate.getClientSideTranslationKeys' => 'getClientSideTranslationKeys', ); diff --git a/plugins/TreemapVisualization b/plugins/TreemapVisualization -Subproject 8c0ba2fc2c0cf6423aad17e251ba83ac485b1b9 +Subproject e7b93068ef7df84cfdaa912ec613d9abb1a737f diff --git a/plugins/UserCountry/UserCountry.php b/plugins/UserCountry/UserCountry.php index 437d0f376d..8b00e06c5f 100644 --- a/plugins/UserCountry/UserCountry.php +++ b/plugins/UserCountry/UserCountry.php @@ -41,9 +41,9 @@ class UserCountry extends \Piwik\Plugin $hooks = array( 'ArchiveProcessor.Day.compute' => 'archiveDay', 'ArchiveProcessor.Period.compute' => 'archivePeriod', - 'WidgetsList.addWidget' => 'addWidgets', - 'Menu.addMenuEntry' => 'addMenu', - 'AdminMenu.addMenuEntry' => 'addAdminMenu', + 'WidgetsList.addWidgets' => 'addWidgets', + 'Menu.addMenuEntries' => 'addMenu', + 'AdminMenu.addMenuEntries' => 'addAdminMenu', 'Goals.getReportsWithGoalMetrics' => 'getReportsWithGoalMetrics', 'API.getReportMetadata' => 'getReportMetadata', 'API.getSegmentsMetadata' => 'getSegmentsMetadata', diff --git a/plugins/UserCountryMap/UserCountryMap.php b/plugins/UserCountryMap/UserCountryMap.php index 86dead9f43..44b0fd361e 100644 --- a/plugins/UserCountryMap/UserCountryMap.php +++ b/plugins/UserCountryMap/UserCountryMap.php @@ -56,7 +56,7 @@ class UserCountryMap extends \Piwik\Plugin $hooks = array( 'AssetManager.getJavaScriptFiles' => 'getJsFiles', 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', - 'Menu.addMenuEntry' => 'addMenu', + 'Menu.addMenuEntries' => 'addMenu', ); return $hooks; } diff --git a/plugins/UserSettings/UserSettings.php b/plugins/UserSettings/UserSettings.php index 9b741897e1..be46e42853 100644 --- a/plugins/UserSettings/UserSettings.php +++ b/plugins/UserSettings/UserSettings.php @@ -166,8 +166,8 @@ class UserSettings extends \Piwik\Plugin $hooks = array( 'ArchiveProcessor.Day.compute' => 'archiveDay', 'ArchiveProcessor.Period.compute' => 'archivePeriod', - 'WidgetsList.addWidget' => 'addWidgets', - 'Menu.addMenuEntry' => 'addMenu', + 'WidgetsList.addWidgets' => 'addWidgets', + 'Menu.addMenuEntries' => 'addMenu', 'API.getReportMetadata' => 'getReportMetadata', 'API.getSegmentsMetadata' => 'getSegmentsMetadata', 'Visualization.getReportDisplayProperties' => 'getReportDisplayProperties', diff --git a/plugins/UsersManager/UsersManager.php b/plugins/UsersManager/UsersManager.php index 5505a417ae..30446bca65 100644 --- a/plugins/UsersManager/UsersManager.php +++ b/plugins/UsersManager/UsersManager.php @@ -31,7 +31,7 @@ class UsersManager extends \Piwik\Plugin public function getListHooksRegistered() { return array( - 'AdminMenu.addMenuEntry' => 'addMenu', + 'AdminMenu.addMenuEntries' => 'addMenu', 'AssetManager.getJavaScriptFiles' => 'getJsFiles', 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', 'SitesManager.deleteSite.end' => 'deleteSite', diff --git a/plugins/VisitFrequency/VisitFrequency.php b/plugins/VisitFrequency/VisitFrequency.php index 5f32b9ea62..3425c80b1a 100644 --- a/plugins/VisitFrequency/VisitFrequency.php +++ b/plugins/VisitFrequency/VisitFrequency.php @@ -24,9 +24,9 @@ class VisitFrequency extends \Piwik\Plugin public function getListHooksRegistered() { $hooks = array( - 'WidgetsList.addWidget' => 'addWidgets', - 'Menu.addMenuEntry' => 'addMenu', - 'API.getReportMetadata' => 'getReportMetadata', + 'WidgetsList.addWidgets' => 'addWidgets', + 'Menu.addMenuEntries' => 'addMenu', + 'API.getReportMetadata' => 'getReportMetadata', ); return $hooks; } diff --git a/plugins/VisitTime/VisitTime.php b/plugins/VisitTime/VisitTime.php index 9c607bb937..73eb50329d 100644 --- a/plugins/VisitTime/VisitTime.php +++ b/plugins/VisitTime/VisitTime.php @@ -32,8 +32,8 @@ class VisitTime extends \Piwik\Plugin $hooks = array( 'ArchiveProcessor.Day.compute' => 'archiveDay', 'ArchiveProcessor.Period.compute' => 'archivePeriod', - 'WidgetsList.addWidget' => 'addWidgets', - 'Menu.addMenuEntry' => 'addMenu', + 'WidgetsList.addWidgets' => 'addWidgets', + 'Menu.addMenuEntries' => 'addMenu', 'Goals.getReportsWithGoalMetrics' => 'getReportsWithGoalMetrics', 'API.getReportMetadata' => 'getReportMetadata', 'API.getSegmentsMetadata' => 'getSegmentsMetadata', diff --git a/plugins/VisitorInterest/VisitorInterest.php b/plugins/VisitorInterest/VisitorInterest.php index f653af2063..dc83bdb871 100644 --- a/plugins/VisitorInterest/VisitorInterest.php +++ b/plugins/VisitorInterest/VisitorInterest.php @@ -30,8 +30,8 @@ class VisitorInterest extends \Piwik\Plugin $hooks = array( 'ArchiveProcessor.Day.compute' => 'archiveDay', 'ArchiveProcessor.Period.compute' => 'archivePeriod', - 'WidgetsList.addWidget' => 'addWidgets', - 'Menu.addMenuEntry' => 'addMenu', + 'WidgetsList.addWidgets' => 'addWidgets', + 'Menu.addMenuEntries' => 'addMenu', 'API.getReportMetadata' => 'getReportMetadata', 'Visualization.getReportDisplayProperties' => 'getReportDisplayProperties', ); diff --git a/plugins/VisitsSummary/VisitsSummary.php b/plugins/VisitsSummary/VisitsSummary.php index ee48bc995b..263453088d 100644 --- a/plugins/VisitsSummary/VisitsSummary.php +++ b/plugins/VisitsSummary/VisitsSummary.php @@ -28,9 +28,9 @@ class VisitsSummary extends \Piwik\Plugin public function getListHooksRegistered() { return array( - 'API.getReportMetadata' => 'getReportMetadata', - 'WidgetsList.addWidget' => 'addWidgets', - 'Menu.addMenuEntry' => 'addMenu', + 'API.getReportMetadata' => 'getReportMetadata', + 'WidgetsList.addWidgets' => 'addWidgets', + 'Menu.addMenuEntries' => 'addMenu', ); } diff --git a/plugins/Widgetize/Widgetize.php b/plugins/Widgetize/Widgetize.php index 0f60b9405b..d64a3472fa 100644 --- a/plugins/Widgetize/Widgetize.php +++ b/plugins/Widgetize/Widgetize.php @@ -26,7 +26,7 @@ class Widgetize extends \Piwik\Plugin return array( 'AssetManager.getJavaScriptFiles' => 'getJsFiles', 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', - 'TopMenu.addMenuEntry' => 'addTopMenu', + 'TopMenu.addMenuEntries' => 'addTopMenu', 'Translate.getClientSideTranslationKeys' => 'getClientSideTranslationKeys' ); } |