PHP Class Piwik\Plugins\Installation\Installation

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

Protected Properties

Property Type Description
$installationControllerName

Public Methods

Method Description
dispatch ( Exception | null $exception = null )
dispatchIfNotInstalledYet ( &$module, &$action, &$parameters )
displayDbConnectionMessage ( $exception = null )
getStylesheetFiles ( &$stylesheets ) Adds CSS files to list of CSS files for asset manager.
registerEvents ( )
setControllerToLoad ( $newControllerName )

Protected Methods

Method Description
getInstallationController ( )

Private Methods

Method Description
getMessageToInviteUserToInstallPiwik ( $message ) : string
isAllowedAction ( $action )

Method Details

dispatch() public method

public dispatch ( Exception | null $exception = null )
$exception Exception | null

dispatchIfNotInstalledYet() public method

public dispatchIfNotInstalledYet ( &$module, &$action, &$parameters )

displayDbConnectionMessage() public method

public displayDbConnectionMessage ( $exception = null )

getInstallationController() protected method

getStylesheetFiles() public method

Adds CSS files to list of CSS files for asset manager.
public getStylesheetFiles ( &$stylesheets )

registerEvents() public method

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

setControllerToLoad() public method

public setControllerToLoad ( $newControllerName )

Property Details

$installationControllerName protected property

protected $installationControllerName