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
Afficher le fichier Open project: piwik/piwik Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
getTableName ( )
initDbIfNeeded ( )

Method Details

__construct() public méthode

public __construct ( $idSite, $pluginName )

delete() public méthode

public delete ( )

getStorageId() public méthode

public getStorageId ( )

load() public méthode

public load ( )

removeAllSettingsForPlugin() public static méthode

public static removeAllSettingsForPlugin ( string $pluginName )
$pluginName string

removeAllSettingsForSite() public static méthode

public static removeAllSettingsForSite ( integer $idSite )
$idSite integer

save() public méthode

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