PHP 클래스 Piwik\Plugins\SitesManager\SitesManager

상속: extends Piwik\Plugin
파일 보기 프로젝트 열기: piwik/piwik 1 사용 예제들

공개 메소드들

메소드 설명
getClientSideTranslationKeys ( &$translationKeys )
getJsFiles ( &$jsFiles ) Get JavaScript files
getStylesheetFiles ( &$stylesheets ) Get CSS files
getTrackerExcludedQueryParameters ( array $website ) : array Returns the array of URL query parameters to exclude from URLs
onSiteDeleted ( $idSite )
recordWebsiteDataInCache ( array &$array, integer $idSite ) : void Hooks when a website tracker cache is flushed (website updated, cache deleted, or empty cache) Will record in the tracker config file all data needed for this website in Tracker.
redirectDashboardToWelcomePage ( &$module, &$action )
registerEvents ( )

비공개 메소드들

메소드 설명
filterBlankFromCommaSepList ( string $parameters ) : array Trims each element of a comma-separated list of strings, removes empty elements and returns the result (as an array).
getExcludedUserAgents ( array $website ) : array Returns the array of excluded user agent substrings for a site. Filters out any garbage data & trims each entry.
getTimezoneFromWebsite ( array $site ) : boolean Returns whether we should keep URL fragments for a specific site.
getTrackerExcludedIps ( array $website ) : array Returns the array of excluded IPs to save in the config file
getTrackerHosts ( $urls ) : array Returns the hosts alias URLs
getTrackerSearchCategoryParameters ( $website )
getTrackerSearchKeywordParameters ( $website )
shouldKeepURLFragmentsFor ( array $site ) : boolean Returns whether we should keep URL fragments for a specific site.

메소드 상세

getClientSideTranslationKeys() 공개 메소드

public getClientSideTranslationKeys ( &$translationKeys )

getJsFiles() 공개 메소드

Get JavaScript files
public getJsFiles ( &$jsFiles )

getStylesheetFiles() 공개 메소드

Get CSS files
public getStylesheetFiles ( &$stylesheets )

getTrackerExcludedQueryParameters() 공개 정적인 메소드

Returns the array of URL query parameters to exclude from URLs
public static getTrackerExcludedQueryParameters ( array $website ) : array
$website array
리턴 array

onSiteDeleted() 공개 메소드

public onSiteDeleted ( $idSite )

recordWebsiteDataInCache() 공개 메소드

Hooks when a website tracker cache is flushed (website updated, cache deleted, or empty cache) Will record in the tracker config file all data needed for this website in Tracker.
public recordWebsiteDataInCache ( array &$array, integer $idSite ) : void
$array array
$idSite integer
리턴 void

redirectDashboardToWelcomePage() 공개 메소드

public redirectDashboardToWelcomePage ( &$module, &$action )

registerEvents() 공개 메소드

또한 보기: Piwik\Plugin::registerEvents
public registerEvents ( )