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:
Diffstat (limited to 'plugins/ExampleRssWidget/ExampleRssWidget.php')
-rw-r--r--plugins/ExampleRssWidget/ExampleRssWidget.php12
1 files changed, 9 insertions, 3 deletions
diff --git a/plugins/ExampleRssWidget/ExampleRssWidget.php b/plugins/ExampleRssWidget/ExampleRssWidget.php
index 7c583cefa3..f36f850e7e 100644
--- a/plugins/ExampleRssWidget/ExampleRssWidget.php
+++ b/plugins/ExampleRssWidget/ExampleRssWidget.php
@@ -16,13 +16,19 @@
*/
class Piwik_ExampleRssWidget extends Piwik_Plugin
{
+ /**
+ * Return information about this plugin.
+ *
+ * @see Piwik_Plugin
+ *
+ * @return array
+ */
public function getInformation()
{
return array(
- 'name' => 'Example Rss Widget',
- 'description' => 'Example Plugin: How to create a new widget that reads a RSS feed?',
+ 'description' => Piwik_Translate('ExampleRssWidget_PluginDescription'),
'author' => 'Piwik',
- 'homepage' => 'http://piwik.org/',
+ 'author_homepage' => 'http://piwik.org/',
'version' => '0.1',
);
}