添加 Piwik 到代码库中。
+YUCHENG HU+ git-svn-id: https://svn.code.sf.net/p/hawebs/svn@481 a2543c7e-f6e9-4f8a-8bff-1ffc34733512
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<?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: ExampleAPI.php 2264 2010-06-03 16:53:43Z vipsoft $
|
||||
*
|
||||
* @category Piwik_Plugins
|
||||
* @package Piwik_ExampleAPI
|
||||
*/
|
||||
|
||||
/**
|
||||
* ExampleAPI plugin
|
||||
*
|
||||
* @package Piwik_ExampleAPI
|
||||
*/
|
||||
class Piwik_ExampleAPI extends Piwik_Plugin
|
||||
{
|
||||
/**
|
||||
* Return information about this plugin.
|
||||
*
|
||||
* @see Piwik_Plugin
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getInformation()
|
||||
{
|
||||
return array(
|
||||
'description' => Piwik_Translate('ExampleAPI_PluginDescription'),
|
||||
'homepage' => 'index.php?module=API&action=listAllAPI#ExampleAPI',
|
||||
'author' => 'Piwik',
|
||||
'author_homepage' => 'http://piwik.org/',
|
||||
'version' => '0.1',
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user