PHP Class Piwik\Plugins\CorePluginsAdmin\SettingsMetadata

Mostra file Open project: piwik/piwik Class Usage Examples

Public Methods

Method Description
formatSettings ( Settings[] $allSettings ) : array
setPluginSettings ( Settings[] $settingsInstances, array $settingValues )

Private Methods

Method Description
findSettingValueFromRequest ( $settingValues, $pluginName, $settingName )
formatMetadata ( Piwik\Settings\Setting $setting )

Method Details

formatSettings() public method

public formatSettings ( Settings[] $allSettings ) : array
$allSettings Piwik\Settings\Settings[] A list of Settings instead by pluginname
return array

setPluginSettings() public method

public setPluginSettings ( Settings[] $settingsInstances, array $settingValues )
$settingsInstances Piwik\Settings\Settings[]
$settingValues array array('pluginName' => array('settingName' => 'settingValue'))