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:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2008-02-01 05:43:40 +0300
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2008-02-01 05:43:40 +0300
commit1be04929f410c5f583d17f6c2c558c7db77e39c3 (patch)
tree3aae809d7c5fe320d79d040a5c43f1792f6af6ac /plugins/ExamplePlugin
parentb5aa83d706c6826942bdc334daea6a38daeadc8f (diff)
- fixed bug period range generation
- started splitting the Home controller in the plugins controllers - now no need to create a controller.php you can put all the classes in one plugin file - developped the plugin administration screen - added activate/desactivate plugins/ saved in config file / added config file write - redone menu generation. now plugins can create menu entries level1 or level2 - fixed wronte row id in sitemanager when adding a site
Diffstat (limited to 'plugins/ExamplePlugin')
-rw-r--r--plugins/ExamplePlugin/ExamplePlugin.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/plugins/ExamplePlugin/ExamplePlugin.php b/plugins/ExamplePlugin/ExamplePlugin.php
new file mode 100644
index 0000000000..80f0a8055e
--- /dev/null
+++ b/plugins/ExamplePlugin/ExamplePlugin.php
@@ -0,0 +1,27 @@
+<?php
+/**
+ * Piwik - Open source web analytics
+ *
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ *
+ * @package Piwik_ExamplePlugin
+ */
+
+class Piwik_ExamplePlugin extends Piwik_Plugin
+{
+ public function getInformation()
+ {
+ return array(
+ // name must be the className prefix!
+ 'name' => 'ExamplePlugin',
+ 'description' => 'Description',
+ 'author' => 'Piwik',
+ 'homepage' => 'http://piwik.org/',
+ 'version' => '0.1',
+ 'translationAvailable' => false,
+ );
+ }
+}
+