diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-08-22 17:23:16 +0400 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-08-22 17:23:16 +0400 |
commit | 17648f51b30317ea27d1027dbe68eeab81ed2fa0 (patch) | |
tree | 436d3d9c8546deb59b8f307dd5b20cd1a60d407f /plugins/DBStats | |
parent | acfca79b4d787d6ae526e4d803dc8bcc29ee78e3 (diff) |
phpdoc cleanup:
* add @category (Piwik => 'core', Piwik_Plugins => 'plugins')
* in core, use @package and @subpackage more consistently to group files/classes; exception is DataFiles/*, PluginsFunctions/*, and SmartyPlugins/*
* in plugins, @package is the plugin name
* removed '@param none' -- not a phpdoc convention
* '@throws' and '@return void' are also not phpdoc conventions, but are widely used elsewhere, e.g., Smarty & Zend
Diffstat (limited to 'plugins/DBStats')
-rw-r--r-- | plugins/DBStats/API.php | 5 | ||||
-rw-r--r-- | plugins/DBStats/Controller.php | 5 | ||||
-rw-r--r-- | plugins/DBStats/DBStats.php | 7 |
3 files changed, 13 insertions, 4 deletions
diff --git a/plugins/DBStats/API.php b/plugins/DBStats/API.php index a922335274..cb7618a908 100644 --- a/plugins/DBStats/API.php +++ b/plugins/DBStats/API.php @@ -6,12 +6,13 @@ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later * @version $Id$ * + * @category Piwik_Plugins * @package Piwik_DBStats */ /** - * - * @package Piwik_DBStats_API + * + * @package Piwik_DBStats */ class Piwik_DBStats_API { diff --git a/plugins/DBStats/Controller.php b/plugins/DBStats/Controller.php index 1e0723f914..4896519e6e 100644 --- a/plugins/DBStats/Controller.php +++ b/plugins/DBStats/Controller.php @@ -6,9 +6,14 @@ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later * @version $Id$ * + * @category Piwik_Plugins * @package Piwik_DBStats */ +/** + * + * @package Piwik_DBStats + */ class Piwik_DBStats_Controller extends Piwik_Controller { function index() diff --git a/plugins/DBStats/DBStats.php b/plugins/DBStats/DBStats.php index 6e96a9875f..f8f677cfa9 100644 --- a/plugins/DBStats/DBStats.php +++ b/plugins/DBStats/DBStats.php @@ -6,10 +6,14 @@ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later * @version $Id$ * + * @category Piwik_Plugins * @package Piwik_DBStats - * */ +/** + * + * @package Piwik_DBStats + */ class Piwik_DBStats extends Piwik_Plugin { public function getInformation() @@ -33,4 +37,3 @@ class Piwik_DBStats extends Piwik_Plugin Piwik_AddAdminMenu("Database usage", array('module' => 'DBStats', 'action' => 'index')); } } - |