PHP Class Piwik\Plugins\CustomVariables\CustomVariables

Inheritance: extends Piwik\Plugin
Afficher le fichier Open project: piwik/piwik Class Usage Examples

Méthodes publiques

Méthode Description
extendVisitorDetails ( &$visitor, $details )
getClientSideTranslationKeys ( &$translationKeys )
getJsFiles ( &$jsFiles )
getMaxLengthCustomVariables ( ) : integer There are also some hardcoded places in JavaScript
getNumUsableCustomVariables ( ) : integer Returns the number of available custom variables that can be used.
getStylesheetFiles ( &$stylesheets )
install ( )
registerEvents ( )
uninstall ( )

Method Details

extendVisitorDetails() public méthode

public extendVisitorDetails ( &$visitor, $details )

getClientSideTranslationKeys() public méthode

public getClientSideTranslationKeys ( &$translationKeys )

getJsFiles() public méthode

public getJsFiles ( &$jsFiles )

getMaxLengthCustomVariables() public static méthode

There are also some hardcoded places in JavaScript
public static getMaxLengthCustomVariables ( ) : integer
Résultat integer

getNumUsableCustomVariables() public static méthode

"Can be used" is identifed by the minimum number of available custom variables across all relevant tables. Eg if there are 6 custom variables installed in log_visit but only 5 in log_conversion, we consider only 5 custom variables as usable.
public static getNumUsableCustomVariables ( ) : integer
Résultat integer

getStylesheetFiles() public méthode

public getStylesheetFiles ( &$stylesheets )

install() public méthode

public install ( )

registerEvents() public méthode

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

uninstall() public méthode

public uninstall ( )