PHP Class Piwik\Plugins\CorePluginsAdmin\Controller

Inheritance: extends Piwik\Plugin\ControllerAdmin
Afficher le fichier Open project: piwik/piwik

Méthodes publiques

Méthode Description
__construct ( Piwik\Translation\Translator $translator, SettingsProvider $settingsProvider, PluginInstaller $pluginInstaller, Plugins $marketplacePlugins = null ) Controller constructor.
activate ( $redirectAfter = true )
browsePlugins ( )
browseThemes ( )
deactivate ( $redirectAfter = true )
plugins ( )
safemode ( $lastError = [] )
showLicense ( )
themes ( )
uninstall ( $redirectAfter = true )
uploadPlugin ( )

Méthodes protégées

Méthode Description
configureView ( $template )
getPluginsInfo ( $themesOnly = false )
initPluginModification ( $nonceName )
keepPluginsOrThemes ( $themesOnly, $plugins )
redirectAfterModification ( $redirectAfter )

Private Methods

Méthode Description
createPluginsOrThemesView ( $template, $themesOnly )
dieIfPluginsAdminIsDisabled ( )
tryToRepairPiwik ( )

Method Details

__construct() public méthode

Controller constructor.
public __construct ( Piwik\Translation\Translator $translator, SettingsProvider $settingsProvider, PluginInstaller $pluginInstaller, Plugins $marketplacePlugins = null )
$translator Piwik\Translation\Translator
$settingsProvider Piwik\Plugin\SettingsProvider
$pluginInstaller PluginInstaller
$marketplacePlugins Piwik\Plugins\Marketplace\Plugins

activate() public méthode

public activate ( $redirectAfter = true )

browsePlugins() public méthode

Deprecation:
public browsePlugins ( )

browseThemes() public méthode

Deprecation:
public browseThemes ( )

configureView() protected méthode

protected configureView ( $template )

deactivate() public méthode

public deactivate ( $redirectAfter = true )

getPluginsInfo() protected méthode

protected getPluginsInfo ( $themesOnly = false )

initPluginModification() protected méthode

protected initPluginModification ( $nonceName )

keepPluginsOrThemes() protected méthode

protected keepPluginsOrThemes ( $themesOnly, $plugins )

plugins() public méthode

public plugins ( )

redirectAfterModification() protected méthode

protected redirectAfterModification ( $redirectAfter )

safemode() public méthode

public safemode ( $lastError = [] )

showLicense() public méthode

public showLicense ( )

themes() public méthode

public themes ( )

uninstall() public méthode

public uninstall ( $redirectAfter = true )

uploadPlugin() public méthode

public uploadPlugin ( )