diff options
author | sgiehl <stefangiehl@gmail.com> | 2012-05-28 21:29:23 +0400 |
---|---|---|
committer | sgiehl <stefangiehl@gmail.com> | 2012-05-28 21:29:23 +0400 |
commit | 06bb25eb436e6d17d79eb44b286a1d877328142d (patch) | |
tree | f92a56ad52588a20b8bf16eb466ce920c2a65c2b /core/DataTable/Filter/BeautifyTimeRangeLabels.php | |
parent | 90ae9e10229fc517dd1c9f406736cc091b6cf970 (diff) |
added/fixed doc blocks
git-svn-id: http://dev.piwik.org/svn/trunk@6353 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/DataTable/Filter/BeautifyTimeRangeLabels.php')
-rw-r--r-- | core/DataTable/Filter/BeautifyTimeRangeLabels.php | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/core/DataTable/Filter/BeautifyTimeRangeLabels.php b/core/DataTable/Filter/BeautifyTimeRangeLabels.php index da8264f57f..50d9105d6c 100644 --- a/core/DataTable/Filter/BeautifyTimeRangeLabels.php +++ b/core/DataTable/Filter/BeautifyTimeRangeLabels.php @@ -32,15 +32,15 @@ class Piwik_DataTable_Filter_BeautifyTimeRangeLabels extends Piwik_DataTable_Fil /** * Constructor. * - * @param Piwik_DataTable $table The DataTable this filter will run over. - * @param string $labelSecondsPlural A string to use when beautifying range labels - * whose lower bound is between 0 and 60. Must be - * a format string that takes two numeric params. - * @param string $labelMinutesSingular A string to use when replacing a range that - * equals 60-60 (or 1 minute - 1 minute). - * @param string $labelMinutesPlural A string to use when replacing a range that - * spans multiple minutes. This must be a - * format string that takes one string parameter. + * @param Piwik_DataTable $table The DataTable this filter will run over. + * @param string $labelSecondsPlural A string to use when beautifying range labels + * whose lower bound is between 0 and 60. Must be + * a format string that takes two numeric params. + * @param string $labelMinutesSingular A string to use when replacing a range that + * equals 60-60 (or 1 minute - 1 minute). + * @param string $labelMinutesPlural A string to use when replacing a range that + * spans multiple minutes. This must be a + * format string that takes one string parameter. */ public function __construct( $table, $labelSecondsPlural, $labelMinutesSingular, $labelMinutesPlural ) { @@ -56,9 +56,9 @@ class Piwik_DataTable_Filter_BeautifyTimeRangeLabels extends Piwik_DataTable_Fil * If the lower bound of the range is less than 60 the pretty range label * will be in seconds. Otherwise, it will be in minutes. * - * @param string $oldLabel The original label value. - * @param int $lowerBound The lower bound of the range. - * @return string The pretty range label. + * @param string $oldLabel The original label value. + * @param int $lowerBound The lower bound of the range. + * @return string The pretty range label. */ public function getSingleUnitLabel( $oldLabel, $lowerBound ) { @@ -83,10 +83,10 @@ class Piwik_DataTable_Filter_BeautifyTimeRangeLabels extends Piwik_DataTable_Fil * If the lower bound of the range is less than 60 the pretty range label * will be in seconds. Otherwise, it will be in minutes. * - * @param string $oldLabel The original label value. - * @param int $lowerBound The lower bound of the range. - * @param int $upperBound The upper bound of the range. - * @return string The pretty range label. + * @param string $oldLabel The original label value. + * @param int $lowerBound The lower bound of the range. + * @param int $upperBound The upper bound of the range. + * @return string The pretty range label. */ public function getRangeLabel( $oldLabel, $lowerBound, $upperBound ) { @@ -107,9 +107,9 @@ class Piwik_DataTable_Filter_BeautifyTimeRangeLabels extends Piwik_DataTable_Fil * If the lower bound of the range is less than 60 the pretty range label * will be in seconds. Otherwise, it will be in minutes. * - * @param string $oldLabel The original label value. - * @param int $lowerBound The lower bound of the range. - * @return string The pretty range label. + * @param string $oldLabel The original label value. + * @param int $lowerBound The lower bound of the range. + * @return string The pretty range label. */ public function getUnboundedLabel( $oldLabel, $lowerBound ) { |