PHP Class Piwik\Plugins\UserCountry\UserCountry

Inheritance: extends Piwik\Plugin
Show file Open project: piwik/piwik Class Usage Examples

Public Methods

Method Description
addReportToInsightsOverview ( &$reports )
extendVisitorDetails ( &$visitor, $details )
getClientSideTranslationKeys ( &$translationKeys )
getCountriesForContinent ( string $continent ) : array Returns a list of country codes for a given continent code.
getJsFiles ( &$jsFiles )
getStylesheetFiles ( &$stylesheets )
isGeoIPWorking ( ) : boolean Returns true if a GeoIP provider is installed & working, false if otherwise.
isGeoLocationAdminEnabled ( )
registerEvents ( )
setTrackerCacheGeneral ( &$cache )

Method Details

addReportToInsightsOverview() public method

public addReportToInsightsOverview ( &$reports )

extendVisitorDetails() public method

public extendVisitorDetails ( &$visitor, $details )

getClientSideTranslationKeys() public method

public getClientSideTranslationKeys ( &$translationKeys )

getCountriesForContinent() public static method

Returns a list of country codes for a given continent code.
public static getCountriesForContinent ( string $continent ) : array
$continent string The continent code.
return array

getJsFiles() public method

public getJsFiles ( &$jsFiles )

getStylesheetFiles() public method

public getStylesheetFiles ( &$stylesheets )

isGeoIPWorking() public method

Returns true if a GeoIP provider is installed & working, false if otherwise.
public isGeoIPWorking ( ) : boolean
return boolean

isGeoLocationAdminEnabled() public static method

public static isGeoLocationAdminEnabled ( )

registerEvents() public method

See also: Piwik\Plugin::registerEvents
public registerEvents ( )

setTrackerCacheGeneral() public method

public setTrackerCacheGeneral ( &$cache )