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-08-04 00:59:20 +0400
committersgiehl <stefan@piwik.org>2013-08-04 01:01:40 +0400
commit86850ebd9c5a8ab41c367d0c8084ce87bccb87ef (patch)
tree6392e3f69819446fdb11adc0335e48d187d7247c /plugins/API
parentda8ed5d2e15ff6cd9b9f913cf89dfd61ef7e290f (diff)
doc blocks
Diffstat (limited to 'plugins/API')
-rw-r--r--plugins/API/ProcessedReport.php2
-rw-r--r--plugins/API/RowEvolution.php14
2 files changed, 14 insertions, 2 deletions
diff --git a/plugins/API/ProcessedReport.php b/plugins/API/ProcessedReport.php
index b30a3d7901..80a31b83f9 100644
--- a/plugins/API/ProcessedReport.php
+++ b/plugins/API/ProcessedReport.php
@@ -318,7 +318,7 @@ class Piwik_API_ProcessedReport
* - translate metric names to a separate array : $columns
*
* @param int $idSite enables monetary value formatting based on site currency
- * @param \Piwik\DataTable\Set $dataTable
+ * @param \Piwik\DataTable\Map $dataTable
* @param array $reportMetadata
* @param bool $showRawMetrics
* @return array Simple|Set $newReport with human readable format & array $columns list of translated column names & Simple|Set $rowsMetadata
diff --git a/plugins/API/RowEvolution.php b/plugins/API/RowEvolution.php
index 21ab108c8d..f8ff5e2235 100644
--- a/plugins/API/RowEvolution.php
+++ b/plugins/API/RowEvolution.php
@@ -91,6 +91,11 @@ class Piwik_API_RowEvolution
return $dataTable;
}
+ /**
+ * @param DataTable\Map $dataTable
+ * @param array $labels
+ * @return array
+ */
protected function getLabelsFromDataTable($dataTable, $labels)
{
// if no labels specified, use all possible labels as list
@@ -112,7 +117,7 @@ class Piwik_API_RowEvolution
/**
* Get row evolution for a single label
- * @param DataTable $dataTable
+ * @param DataTable\Map $dataTable
* @param array $metadata
* @param string $apiModule
* @param string $apiAction
@@ -173,6 +178,13 @@ class Piwik_API_RowEvolution
return $return;
}
+ /**
+ * @param Row $row
+ * @param string $apiModule
+ * @param string $apiAction
+ * @param bool $labelUseAbsoluteUrl
+ * @return bool|string
+ */
private function getRowUrlForEvolutionLabel($row, $apiModule, $apiAction, $labelUseAbsoluteUrl)
{
$url = $row->getMetadata('url');