diff options
author | Christian Raue <christian.raue@gmail.com> | 2014-07-23 22:27:56 +0400 |
---|---|---|
committer | Christian Raue <christian.raue@gmail.com> | 2014-07-23 22:27:56 +0400 |
commit | d9adcfe6169c6c10059a670f2ed984908eb4e105 (patch) | |
tree | 25cfca25851214c1b744a07e67e9c120adfd7513 /core/Plugin/API.php | |
parent | 2788e1dad22533f3e0dbddbdd16c51251c4e130a (diff) |
removed lots of trailing whitespace
Diffstat (limited to 'core/Plugin/API.php')
-rw-r--r-- | core/Plugin/API.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/core/Plugin/API.php b/core/Plugin/API.php index 58de9e6461..cc16cfb64c 100644 --- a/core/Plugin/API.php +++ b/core/Plugin/API.php @@ -13,17 +13,17 @@ use Piwik\Singleton; /** * The base class of all API singletons. - * + * * Plugins that want to expose functionality through the Reporting API should create a class * that extends this one. Every public method in that class that is not annotated with **@ignore** * will be callable through Piwik's Web API. - * + * * _Note: If your plugin calculates and stores reports, they should be made available through the API._ - * + * * ### Examples - * + * * **Defining an API for a plugin** - * + * * class API extends \Piwik\Plugin\API * { * public function myMethod($idSite, $period, $date, $segment = false) @@ -32,11 +32,11 @@ use Piwik\Singleton; * return $dataTable; * } * } - * + * * **Linking to an API method** - * + * * <a href="?module=API&method=MyPlugin.myMethod&idSite=1&period=day&date=2013-10-23">Link</a> - * + * * @api */ abstract class API extends Singleton |