diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-06-18 05:20:35 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-06-18 05:20:35 +0400 |
commit | 1668b467375522eb83f9790e114b1a37d2a599f3 (patch) | |
tree | d5dcfd00694da9ce756bd78ab96dd39622350ebc /core/ArchiveProcessor.php | |
parent | 53d73c6de48c20f4e238bb5969e0a470bccbe814 (diff) |
Commenting/cleanup new classes
Diffstat (limited to 'core/ArchiveProcessor.php')
-rw-r--r-- | core/ArchiveProcessor.php | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/core/ArchiveProcessor.php b/core/ArchiveProcessor.php index 792048bfc5..714c4e821b 100644 --- a/core/ArchiveProcessor.php +++ b/core/ArchiveProcessor.php @@ -53,35 +53,24 @@ abstract class Piwik_ArchiveProcessor protected $archiveWriter; /** - * Object used to generate (depending on the $dateStart) the name of the DB table to use to store numeric values - * - * @var Piwik_TablePartitioning - */ - protected $tableArchiveNumeric; - - /** - * Object used to generate (depending on the $dateStart) the name of the DB table to use to store numeric values - * - * @var Piwik_TablePartitioning - */ - protected $tableArchiveBlob; - - /** * Is the current archive temporary. ie. * - today * - current week / month / year */ protected $temporaryArchive; + /** + * @var Piwik_DataAccess_LogAggregator + */ protected $logAggregator = null; /** - * @var int Number of visits cached as early as possible + * @var int Cached number of visits cached */ protected $visitsMetricCached = false; /** - * @var int Number of visits with conversions, cached when selecting + * @var int Cached number of visits with conversions */ protected $convertedVisitsMetricCached = false; @@ -264,16 +253,10 @@ abstract class Piwik_ArchiveProcessor protected function doesRequestedPluginIncludeVisitsSummary($requestedPlugin) { $processAllReportsIncludingVisitsSummary = Piwik_ArchiveProcessor_Rules::shouldProcessReportsAllPlugins($this->getSegment(), $this->getPeriod()->getLabel()); - $doesRequestedPluginIncludeVisitsSummary = $processAllReportsIncludingVisitsSummary || $requestedPlugin == 'VisitsSummary'; return $doesRequestedPluginIncludeVisitsSummary; } - /** - * @param $requestedPlugin - * @param $enforceProcessCoreMetricsOnly - * @return mixed - */ protected function computeNewArchive($requestedPlugin, $enforceProcessCoreMetricsOnly) { $archiveWriter = new Piwik_DataAccess_ArchiveWriter($this->getSite()->getId(), $this->getSegment(), $this->getPeriod(), $requestedPlugin, $this->isArchiveTemporary()); |