PHP Class Piwik\Plugins\Dashboard\Dashboard

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

Méthodes publiques

Méthode Description
addSubcategories ( &$subcategories )
addWidgetConfigs ( &$widgets )
decodeLayout ( $layout )
deleteDashboardLayout ( $userLogin )
encodeLayout ( $layout )
getAllDashboards ( $login )
getClientSideTranslationKeys ( &$translationKeys )
getDefaultLayout ( )
getJsFiles ( &$jsFiles )
getLayoutForUser ( string $login, integer $idDashboard ) : boolean | string Returns the layout in the DB for the given user, or false if the layout has not been set yet.
getStylesheetFiles ( &$stylesheets )
install ( )
registerEvents ( )
removeDisabledPluginFromLayout ( $layout )
uninstall ( )

Private Methods

Méthode Description
addDefaultDashboard ( &$widgets )
addDefaultSubcategory ( &$subcategories )
getModel ( )
isAlreadyDecodedLayout ( $layout )

Method Details

addSubcategories() public méthode

public addSubcategories ( &$subcategories )

addWidgetConfigs() public méthode

public addWidgetConfigs ( &$widgets )

decodeLayout() public méthode

public decodeLayout ( $layout )

deleteDashboardLayout() public méthode

public deleteDashboardLayout ( $userLogin )

encodeLayout() public méthode

public encodeLayout ( $layout )

getAllDashboards() public méthode

public getAllDashboards ( $login )

getClientSideTranslationKeys() public méthode

public getClientSideTranslationKeys ( &$translationKeys )

getDefaultLayout() public méthode

public getDefaultLayout ( )

getJsFiles() public méthode

public getJsFiles ( &$jsFiles )

getLayoutForUser() public méthode

Parameters must be checked BEFORE this function call
public getLayoutForUser ( string $login, integer $idDashboard ) : boolean | string
$login string
$idDashboard integer
Résultat boolean | string

getStylesheetFiles() public méthode

public getStylesheetFiles ( &$stylesheets )

install() public méthode

public install ( )

registerEvents() public méthode

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

removeDisabledPluginFromLayout() public méthode

public removeDisabledPluginFromLayout ( $layout )

uninstall() public méthode

public uninstall ( )