PHP 클래스 Piwik\ArchiveProcessor\Rules

파일 보기 프로젝트 열기: piwik/piwik 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$archivingDisabledByTests Flag that will forcefully disable the archiving process (used in tests only)

공개 메소드들

메소드 설명
getDoneFlagArchiveContainsAllPlugins ( Segment $segment )
getDoneFlagArchiveContainsOnePlugin ( Segment $segment, $plugin )
getDoneFlags ( array $plugins, Segment $segment ) : array Return done flags used to tell how the archiving process for a specific archive was completed,
getDoneStringFlagFor ( array $idSites, Segment $segment, string $periodLabel, string $plugin ) : string Returns the name of the archive field used to tell the status of an archive, (ie, whether the archive was created successfully or not).
getMinTimeProcessedForTemporaryArchive ( Date $dateStart, Piwik\Period $period, Segment $segment, Site $site )
getSelectableDoneFlagValues ( ) : string Returns done flag values allowed to be selected
getTodayArchiveTimeToLive ( )
getTodayArchiveTimeToLiveDefault ( )
isArchivingDisabledFor ( array $idSites, Segment $segment, $periodLabel )
isBrowserArchivingAvailableForSegments ( )
isBrowserTriggerEnabled ( )
isRequestAuthorizedToArchive ( )
isSegmentPreProcessed ( array $idSites, Segment $segment ) : boolean
setBrowserTriggerArchiving ( $enabled )
setTodayArchiveTimeToLive ( $timeToLiveSeconds )
shouldProcessReportsAllPlugins ( array $idSites, Segment $segment, $periodLabel )
shouldSkipUniqueVisitorsCalculationForMultipleSites ( ) : boolean Returns true if the archiving process should skip the calculation of unique visitors across several sites. The [General] enable_processing_unique_visitors_multiple_sites INI config option controls the value of this variable.

비공개 메소드들

메소드 설명
getSegmentsToProcess ( $idSites ) : array

메소드 상세

getDoneFlagArchiveContainsAllPlugins() 공개 정적인 메소드

public static getDoneFlagArchiveContainsAllPlugins ( Segment $segment )
$segment Piwik\Segment

getDoneFlagArchiveContainsOnePlugin() 공개 정적인 메소드

public static getDoneFlagArchiveContainsOnePlugin ( Segment $segment, $plugin )
$segment Piwik\Segment

getDoneFlags() 공개 정적인 메소드

Return done flags used to tell how the archiving process for a specific archive was completed,
public static getDoneFlags ( array $plugins, Segment $segment ) : array
$plugins array
$segment Piwik\Segment
리턴 array

getDoneStringFlagFor() 공개 정적인 메소드

Returns the name of the archive field used to tell the status of an archive, (ie, whether the archive was created successfully or not).
public static getDoneStringFlagFor ( array $idSites, Segment $segment, string $periodLabel, string $plugin ) : string
$idSites array
$segment Piwik\Segment
$periodLabel string
$plugin string
리턴 string

getMinTimeProcessedForTemporaryArchive() 공개 정적인 메소드

public static getMinTimeProcessedForTemporaryArchive ( Date $dateStart, Piwik\Period $period, Segment $segment, Site $site )
$dateStart Piwik\Date
$period Piwik\Period
$segment Piwik\Segment
$site Piwik\Site

getSelectableDoneFlagValues() 공개 정적인 메소드

Returns done flag values allowed to be selected
public static getSelectableDoneFlagValues ( ) : string
리턴 string

getTodayArchiveTimeToLive() 공개 정적인 메소드

public static getTodayArchiveTimeToLive ( )

getTodayArchiveTimeToLiveDefault() 공개 정적인 메소드

isArchivingDisabledFor() 공개 정적인 메소드

public static isArchivingDisabledFor ( array $idSites, Segment $segment, $periodLabel )
$idSites array
$segment Piwik\Segment

isBrowserArchivingAvailableForSegments() 공개 정적인 메소드

isBrowserTriggerEnabled() 공개 정적인 메소드

public static isBrowserTriggerEnabled ( )

isRequestAuthorizedToArchive() 공개 정적인 메소드

public static isRequestAuthorizedToArchive ( )

isSegmentPreProcessed() 공개 정적인 메소드

public static isSegmentPreProcessed ( array $idSites, Segment $segment ) : boolean
$idSites array
$segment Piwik\Segment
리턴 boolean

setBrowserTriggerArchiving() 공개 정적인 메소드

public static setBrowserTriggerArchiving ( $enabled )

setTodayArchiveTimeToLive() 공개 정적인 메소드

public static setTodayArchiveTimeToLive ( $timeToLiveSeconds )

shouldProcessReportsAllPlugins() 공개 정적인 메소드

public static shouldProcessReportsAllPlugins ( array $idSites, Segment $segment, $periodLabel )
$idSites array
$segment Piwik\Segment

shouldSkipUniqueVisitorsCalculationForMultipleSites() 공개 정적인 메소드

Returns true if the archiving process should skip the calculation of unique visitors across several sites. The [General] enable_processing_unique_visitors_multiple_sites INI config option controls the value of this variable.

프로퍼티 상세

$archivingDisabledByTests 공개적으로 정적으로 프로퍼티

Flag that will forcefully disable the archiving process (used in tests only)
public static $archivingDisabledByTests