Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Raue <christian.raue@gmail.com>2014-07-23 22:27:56 +0400
committerChristian Raue <christian.raue@gmail.com>2014-07-23 22:27:56 +0400
commitd9adcfe6169c6c10059a670f2ed984908eb4e105 (patch)
tree25cfca25851214c1b744a07e67e9c120adfd7513 /core/Period.php
parent2788e1dad22533f3e0dbddbdd16c51251c4e130a (diff)
removed lots of trailing whitespace
Diffstat (limited to 'core/Period.php')
-rw-r--r--core/Period.php32
1 files changed, 16 insertions, 16 deletions
diff --git a/core/Period.php b/core/Period.php
index fd99954021..bff447dc5e 100644
--- a/core/Period.php
+++ b/core/Period.php
@@ -13,12 +13,12 @@ use Piwik\Period\Range;
/**
* Date range representation.
- *
+ *
* Piwik allows users to view aggregated statistics for single days and for date
* ranges consisting of several days. When requesting data, a **date** string and
* a **period** string must be used to specify the date range that the data regards.
* This is the class Piwik uses to represent and manipulate those date ranges.
- *
+ *
* There are five types of periods in Piwik: day, week, month, year and range,
* where **range** is any date range. The reason the other periods exist instead
* of just **range** is that Piwik will pre-archive reports for days, weeks, months
@@ -47,7 +47,7 @@ abstract class Period
/**
* Constructor.
- *
+ *
* @param Date $date
* @ignore
*/
@@ -69,16 +69,16 @@ abstract class Period
/**
* Returns true if `$dateString` and `$period` represent multiple periods.
- *
+ *
* Will return true for date/period combinations where date references multiple
* dates and period is not `'range'`. For example, will return true for:
- *
+ *
* - **date** = `2012-01-01,2012-02-01` and **period** = `'day'`
* - **date** = `2012-01-01,2012-02-01` and **period** = `'week'`
* - **date** = `last7` and **period** = `'month'`
- *
+ *
* etc.
- *
+ *
* @static
* @param $dateString string The **date** query parameter value.
* @param $period string The **period** query parameter value.
@@ -137,7 +137,7 @@ abstract class Period
/**
* Returns the period ID.
- *
+ *
* @return int A unique integer for this type of period.
*/
public function getId()
@@ -147,7 +147,7 @@ abstract class Period
/**
* Returns the label for the current period.
- *
+ *
* @return string `"day"`, `"week"`, `"month"`, `"year"`, `"range"`
*/
public function getLabel()
@@ -170,7 +170,7 @@ abstract class Period
/**
* Returns the number of available subperiods.
- *
+ *
* @return int
*/
public function getNumberOfSubperiods()
@@ -182,7 +182,7 @@ abstract class Period
/**
* Returns the set of Period instances that together make up this period. For a year,
* this would be 12 months. For a month this would be 28-31 days. Etc.
- *
+ *
* @return Period[]
*/
public function getSubperiods()
@@ -222,7 +222,7 @@ abstract class Period
/**
* See {@link toString()}.
- *
+ *
* @return string
*/
public function __toString()
@@ -232,7 +232,7 @@ abstract class Period
/**
* Returns a pretty string describing this period.
- *
+ *
* @return string
*/
abstract public function getPrettyString();
@@ -240,7 +240,7 @@ abstract class Period
/**
* Returns a short string description of this period that is localized with the currently used
* language.
- *
+ *
* @return string
*/
abstract public function getLocalizedShortString();
@@ -248,14 +248,14 @@ abstract class Period
/**
* Returns a long string description of this period that is localized with the currently used
* language.
- *
+ *
* @return string
*/
abstract public function getLocalizedLongString();
/**
* Returns a succinct string describing this period.
- *
+ *
* @return string eg, `'2012-01-01,2012-01-31'`.
*/
public function getRangeString()