From 20cac9adab214fe1e8e8a37f0cf81ec28c7968fa Mon Sep 17 00:00:00 2001 From: robocoder Date: Sat, 22 Aug 2009 13:23:16 +0000 Subject: 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 git-svn-id: http://dev.piwik.org/svn/trunk@1420 59fd770c-687e-43c8-a1e3-f5a4ff64c105 --- core/TablePartitioning.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'core/TablePartitioning.php') diff --git a/core/TablePartitioning.php b/core/TablePartitioning.php index 2c78d8c18f..1edcbb4ef4 100644 --- a/core/TablePartitioning.php +++ b/core/TablePartitioning.php @@ -6,6 +6,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later * @version $Id$ * + * @category Piwik * @package Piwik */ @@ -15,6 +16,7 @@ * Piwik::getTablesInstalled() to add the new table to the list of tablename_* to fetch * * @package Piwik + * @subpackage Piwik_TablePartitioning */ abstract class Piwik_TablePartitioning { @@ -95,6 +97,7 @@ abstract class Piwik_TablePartitioning /** * * @package Piwik + * @subpackage Piwik_TablePartitioning */ class Piwik_TablePartitioning_Monthly extends Piwik_TablePartitioning { @@ -113,9 +116,11 @@ class Piwik_TablePartitioning_Monthly extends Piwik_TablePartitioning } } + /** * * @package Piwik + * @subpackage Piwik_TablePartitioning */ class Piwik_TablePartitioning_Daily extends Piwik_TablePartitioning { @@ -131,6 +136,5 @@ class Piwik_TablePartitioning_Daily extends Piwik_TablePartitioning $date = date("Y_m_d", $this->timestamp); return $prefixTables . $this->tableName . "_" . $date; - } - + } } -- cgit v1.2.3