프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$archiveProcessor | |||
$archivers | Public only for tests. Won't be necessary after DI changes are complete. |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$params | Piwik\ArchiveProcessor\Parameters |
메소드 | 설명 | |
---|---|---|
__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 ( ) |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
getPluginArchiverClass ( $pluginName ) | ||
makeNewArchiverObject ( $archiverClass, $pluginName ) : |
public __construct ( Piwik\ArchiveProcessor\Parameters $params, $isTemporaryArchive ) | ||
$params | Piwik\ArchiveProcessor\Parameters |
public callAggregateAllPlugins ( $visits, $visitsConverted ) |
public callAggregateCoreMetrics ( ) : array | ||
리턴 | array | Core metrics |
protected getPluginArchivers ( ) : |
||
리턴 |
protected shouldProcessReportsForPlugin ( string $pluginName ) : boolean | ||
$pluginName | string | |
리턴 | boolean |
public static Archiver[],Piwik\Plugin $archivers | ||
리턴 |