PHP Класс Piwik\Plugins\SitesManager\SitesManager

Наследование: extends Piwik\Plugin
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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 ( )