diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-03-28 03:42:39 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-03-28 03:42:40 +0400 |
commit | ae4b03163792f0b6e933933e5d37df87dc3fd566 (patch) | |
tree | d1d7510a9728f587d3d63ebd03e4ecf3d904838b /plugins/Feedback/Feedback.php | |
parent | 158c2150f5f2e13ece459b8d131244c11b763997 (diff) |
Mass conversion of all files to the newly agreed coding standard: PSR 1/2
Converting Piwik core source files, PHP, JS, TPL, CSS
More info: http://piwik.org/participate/coding-standards/
Diffstat (limited to 'plugins/Feedback/Feedback.php')
-rw-r--r-- | plugins/Feedback/Feedback.php | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/plugins/Feedback/Feedback.php b/plugins/Feedback/Feedback.php index 1e0098b6f1..d0094578ed 100644 --- a/plugins/Feedback/Feedback.php +++ b/plugins/Feedback/Feedback.php @@ -15,55 +15,55 @@ */ class Piwik_Feedback extends Piwik_Plugin { - public function getInformation() - { - return array( - 'description' => Piwik_Translate('Feedback_PluginDescription'), - 'author' => 'Piwik', - 'author_homepage' => 'http://piwik.org/', - 'version' => Piwik_Version::VERSION, - ); - } + public function getInformation() + { + return array( + 'description' => Piwik_Translate('Feedback_PluginDescription'), + 'author' => 'Piwik', + 'author_homepage' => 'http://piwik.org/', + 'version' => Piwik_Version::VERSION, + ); + } - function getListHooksRegistered() - { - return array( - 'AssetManager.getCssFiles' => 'getCssFiles', - 'AssetManager.getJsFiles' => 'getJsFiles', - 'TopMenu.add' => 'addTopMenu', - ); - } + function getListHooksRegistered() + { + return array( + 'AssetManager.getCssFiles' => 'getCssFiles', + 'AssetManager.getJsFiles' => 'getJsFiles', + 'TopMenu.add' => 'addTopMenu', + ); + } - public function addTopMenu() - { - Piwik_AddTopMenu( - 'General_GiveUsYourFeedback', - array('module' => 'Feedback', 'action' => 'index'), - true, - $order = 20, - $isHTML = false, - $tooltip = Piwik_Translate('Feedback_TopLinkTooltip') - ); - } + public function addTopMenu() + { + Piwik_AddTopMenu( + 'General_GiveUsYourFeedback', + array('module' => 'Feedback', 'action' => 'index'), + true, + $order = 20, + $isHTML = false, + $tooltip = Piwik_Translate('Feedback_TopLinkTooltip') + ); + } - /** - * @param Piwik_Event_Notification $notification notification object - */ - function getCssFiles( $notification ) - { - $cssFiles = &$notification->getNotificationObject(); - - $cssFiles[] = "plugins/Feedback/templates/styles.css"; - } + /** + * @param Piwik_Event_Notification $notification notification object + */ + function getCssFiles($notification) + { + $cssFiles = & $notification->getNotificationObject(); + + $cssFiles[] = "plugins/Feedback/templates/styles.css"; + } + + /** + * @param Piwik_Event_Notification $notification notification object + */ + function getJsFiles($notification) + { + $jsFiles = & $notification->getNotificationObject(); + + $jsFiles[] = "plugins/Feedback/templates/feedback.js"; + } - /** - * @param Piwik_Event_Notification $notification notification object - */ - function getJsFiles( $notification ) - { - $jsFiles = &$notification->getNotificationObject(); - - $jsFiles[] = "plugins/Feedback/templates/feedback.js"; - } - } |