Property | Type | Description | |
---|---|---|---|
$archiveProcessor | |||
$archivers | Public only for tests. Won't be necessary after DI changes are complete. |
Property | Type | Description | |
---|---|---|---|
$params | Piwik\ArchiveProcessor\Parameters |
Method | Description | |
---|---|---|
__construct ( Piwik\ArchiveProcessor\Parameters $params, $isTemporaryArchive ) | ||
callAggregateAllPlugins ( $visits, $visitsConverted ) | Instantiates the Archiver class in each plugin that defines it, and triggers Aggregation processing on these plugins. | |
callAggregateCoreMetrics ( ) : array | If period is day, will get the core metrics (including visits) from the logs. | |
finalizeArchive ( ) |
Method | Description | |
---|---|---|
aggregateDayVisitsMetrics ( ) | ||
aggregateMultipleVisitsMetrics ( ) | ||
convertMetricsIdToName ( $data ) | ||
getPluginArchivers ( ) : |
Loads Archiver class from any plugin that defines one. | |
shouldProcessReportsForPlugin ( string $pluginName ) : boolean | Whether the specified plugin's reports should be archived |
Method | Description | |
---|---|---|
getPluginArchiverClass ( $pluginName ) | ||
makeNewArchiverObject ( $archiverClass, $pluginName ) : |
public __construct ( Piwik\ArchiveProcessor\Parameters $params, $isTemporaryArchive ) | ||
$params | Piwik\ArchiveProcessor\Parameters |
public callAggregateAllPlugins ( $visits, $visitsConverted ) |
public callAggregateCoreMetrics ( ) : array | ||
return | array | Core metrics |
protected getPluginArchivers ( ) : |
||
return |
protected shouldProcessReportsForPlugin ( string $pluginName ) : boolean | ||
$pluginName | string | |
return | boolean |
public static Archiver[],Piwik\Plugin $archivers | ||
return |