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:
authormattab <matthieu.aubry@gmail.com>2013-11-06 07:32:32 +0400
committermattab <matthieu.aubry@gmail.com>2013-11-06 07:32:32 +0400
commitd811abf39cc01102b7b30136dd9cb5f7168ec628 (patch)
treea3dd81b35781541eda4b399754ab4e713690b502 /core/Archive.php
parent2f7b56bd0791108c6034410e975408827cb0c789 (diff)
Minor
Diffstat (limited to 'core/Archive.php')
-rw-r--r--core/Archive.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/core/Archive.php b/core/Archive.php
index b278baac8a..084abb17dd 100644
--- a/core/Archive.php
+++ b/core/Archive.php
@@ -406,7 +406,7 @@ class Archive
* @param array $archiveNames
* @return array
*/
- public function getRequestedPlugins($archiveNames)
+ private function getRequestedPlugins($archiveNames)
{
$result = array();
foreach ($archiveNames as $name) {
@@ -416,6 +416,17 @@ class Archive
}
/**
+ * Returns an object describing the set of sites, the set of periods and the segment
+ * this Archive will query data for.
+ *
+ * @return Parameters
+ */
+ public function getParams()
+ {
+ return $this->params;
+ }
+
+ /**
* Helper function that creates an Archive instance and queries for report data using
* query parameter data. API methods can use this method to reduce code redundancy.
*
@@ -559,17 +570,6 @@ class Archive
}
/**
- * Returns an object describing the set of sites, the set of periods and the segment
- * this Archive will query data for.
- *
- * @return Parameters
- */
- public function getParams()
- {
- return $this->params;
- }
-
- /**
* Gets the IDs of the archives we're querying for and stores them in $this->archives.
* This function will launch the archiving process for each period/site/plugin if
* metrics/reports have not been calculated/archived already.
@@ -768,7 +768,7 @@ class Archive
* @throws \Exception If a plugin cannot be found or if the plugin for the report isn't
* activated.
*/
- public static function getPluginForReport($report)
+ private static function getPluginForReport($report)
{
// Core metrics are always processed in Core, for the requested date/period/segment
if (in_array($report, Metrics::getVisitsMetricNames())) {