PHP Class Piwik\Settings\Storage\Backend\MeasurableSettingsTable

If a value that needs to be stored is an array, will insert a new row for each value of this array.
Inheritance: implements Piwik\Settings\Storage\Backend\BackendInterface
Show file Open project: piwik/piwik Class Usage Examples

Public Methods

Method Description
__construct ( $idSite, $pluginName )
delete ( )
getStorageId ( )
load ( )
removeAllSettingsForPlugin ( string $pluginName )
removeAllSettingsForSite ( integer $idSite )
save ( $values ) Saves (persists) the current setting values in the database.

Private Methods

Method Description
getTableName ( )
initDbIfNeeded ( )

Method Details

__construct() public method

public __construct ( $idSite, $pluginName )

delete() public method

public delete ( )

getStorageId() public method

public getStorageId ( )

load() public method

public load ( )

removeAllSettingsForPlugin() public static method

public static removeAllSettingsForPlugin ( string $pluginName )
$pluginName string

removeAllSettingsForSite() public static method

public static removeAllSettingsForSite ( integer $idSite )
$idSite integer

save() public method

Saves (persists) the current setting values in the database.
public save ( $values )