blob: b9e24f1e9e02b5ee5c562860e6347af1fc92db7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<?php
class Piwik_ExampleAPI extends Piwik_Plugin
{
public function getInformation()
{
return array(
// name must be the className prefix!
'name' => 'ExampleAPI',
'description' => 'Example Plugin: How to create an API for your plugin, to export your data in multiple formats without any special coding? Visit the <a href="index.php?module=CoreAdminHome&action=showInContext&moduleToLoad=API&actionToLoad=listAllAPI&module=CoreAdminHome&action=showInContext#ExampleAPI">ExampleAPI example methods</a>.',
'author' => 'Piwik',
'homepage' => 'http://piwik.org/',
'version' => '0.1',
);
}
}
|