Property | Type | Description | |
---|---|---|---|
$pluginName | |||
$title | string | By default the plugin name is shown in the UI when managing plugin settings. However, you can overwrite the displayed title by specifying a title. |
Method | Description | |
---|---|---|
__construct ( ) | ||
getPluginName ( ) | ||
getSetting ( $name ) : Piwik\Settings\Setting | ||
getSettingsWritableByCurrentUser ( ) : Piwik\Settings\Setting[] | Returns the settings that can be displayed for the current user. | |
getTitle ( ) | ||
save ( ) | Saves (persists) the current setting values in the database. |
Method | Description | |
---|---|---|
addSetting ( Piwik\Settings\Setting $setting ) | Makes a new plugin setting available. | |
init ( ) | Implemented by descendants. This method should define plugin settings (via the {@link addSetting()}) method and set the introduction text (via the {@link setIntroduction()}). |
protected addSetting ( Piwik\Settings\Setting $setting ) | ||
$setting | Piwik\Settings\Setting |
public getSetting ( $name ) : Piwik\Settings\Setting | ||
return | Piwik\Settings\Setting |
public getSettingsWritableByCurrentUser ( ) : Piwik\Settings\Setting[] | ||
return | Piwik\Settings\Setting[] |
abstract protected init ( ) |
protected string $title | ||
return | string |