diff options
author | Fabian Becker <halfdan@xnorfz.de> | 2013-03-20 03:43:17 +0400 |
---|---|---|
committer | Fabian Becker <halfdan@xnorfz.de> | 2013-03-20 03:43:17 +0400 |
commit | bc69c9541b055f612fa7fbf3377468a167968241 (patch) | |
tree | d8cc8ef7facf9722098967e6add9949a8336fa3f /misc | |
parent | 384e248ddf0c07e17b69a92865e2922109592ce7 (diff) |
Some documentation correction.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/cron/archive.php | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/misc/cron/archive.php b/misc/cron/archive.php index 50cdeefb31..9899e81eca 100644 --- a/misc/cron/archive.php +++ b/misc/cron/archive.php @@ -399,9 +399,15 @@ class Archiving $this->log("done"); } - /** - * @return bool True on success, false if some request failed - */ + /** + * Archive visits and segments. + * + * @param $idsite int + * @param $period + * @param $lastTimestampWebsiteProcessed + * @param Piwik_Timer $timerWebsite + * @return bool True on success, false if some request failed + */ private function archiveVisitsAndSegments($idsite, $period, $lastTimestampWebsiteProcessed, Piwik_Timer $timerWebsite = null) { $timer = new Piwik_Timer; @@ -830,15 +836,17 @@ class Archiving } $this->piwikUrl = $piwikUrl . "index.php"; } - - - /** - * Returns if the requested parameter is defined in the command line arguments. - * If $valuePossible is true, then a value is possibly set for this parameter, - * ie. --force-timeout-for-periods=3600 would return 3600 - * - * @return true or the value (int,string) if set, false otherwise - */ + + + /** + * Returns if the requested parameter is defined in the command line arguments. + * If $valuePossible is true, then a value is possibly set for this parameter, + * ie. --force-timeout-for-periods=3600 would return 3600 + * + * @param $parameter + * @param bool $valuePossible + * @return true or the value (int,string) if set, false otherwise + */ private function isParameterSet($parameter, $valuePossible = false) { if(!Piwik_Common::isPhpCliMode()) |