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:
authorsgiehl <stefan@piwik.org>2013-07-06 20:00:00 +0400
committersgiehl <stefan@piwik.org>2013-07-06 20:00:00 +0400
commitbfd7e1fa5d0df717d7e715a99cd741d76229f7d4 (patch)
tree88bb71abcb142612013781d0f3915734cb2dce7e /core/Archive.php
parent1f787b2c435d7e5b2e33d2aeffa821eccb546bf7 (diff)
fixed several doc blocks
Diffstat (limited to 'core/Archive.php')
-rw-r--r--core/Archive.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/core/Archive.php b/core/Archive.php
index 07695eab35..272d1e5322 100644
--- a/core/Archive.php
+++ b/core/Archive.php
@@ -282,7 +282,7 @@ class Piwik_Archive
* @param Piwik_Date $date
* @param string $segment
* @param bool $expanded
- * @param null $idSubtable
+ * @param int|null $idSubtable
* @return Piwik_DataTable|Piwik_DataTable_Array
*/
public static function getDataTableFromArchive($name, $idSite, $period, $date, $segment, $expanded, $idSubtable = null)
@@ -308,8 +308,12 @@ class Piwik_Archive
{
return $recordName . "_" . $id;
}
+
/**
* Queries archive tables for data and returns the result.
+ * @param array|string $archiveNames
+ * @param $archiveDataType
+ * @param null|int $idSubtable
* @return Piwik_Archive_DataCollection
*/
private function get($archiveNames, $archiveDataType, $idSubtable = null)
@@ -613,11 +617,12 @@ class Piwik_Archive
return $plugin;
}
-
+
/**
* Returns the name of the plugin that archives a given report.
- *
+ *
* @param string $report Archive data name, ie, 'nb_visits', 'UserSettings_...', etc.
+ * @throws Exception
* @return string
*/
public static function getPluginForReport($report)