Method | Description | |
---|---|---|
getConfigStorage ( string $section ) : mixed | ||
getMeasurableSettingsStorage ( integer $idSite, string $pluginName ) : Storage | Get a storage instance for measurable settings. | |
getNonPersistentStorage ( string $key ) : Storage | Get a storage with a backend that will never persist or load any value. | |
getPluginStorage ( string $pluginName, string $userLogin ) : Storage | Get a storage instance for plugin settings. | |
getSitesTable ( integer $idSite ) : Storage | Get a storage instance for settings that will be saved in the "site" table. |
Method | Description | |
---|---|---|
makeStorage ( Piwik\Settings\Storage\Backend\BackendInterface $backend ) |
public getConfigStorage ( string $section ) : mixed | ||
$section | string | |
return | mixed |
public getMeasurableSettingsStorage ( integer $idSite, string $pluginName ) : Storage | ||
$idSite | integer | If idSite is empty it will use a backend that never actually persists any value. Pass $idSite = 0 to create a storage for a site that is about to be created. |
$pluginName | string | |
return | Storage |
public getNonPersistentStorage ( string $key ) : Storage | ||
$key | string | |
return | Storage |
public getPluginStorage ( string $pluginName, string $userLogin ) : Storage | ||
$pluginName | string | |
$userLogin | string | Use an empty string if settings should be not for a specific login |
return | Storage |
public getSitesTable ( integer $idSite ) : Storage | ||
$idSite | integer | If idSite is empty it will use a backend that never actually persists any value. Pass $idSite = 0 to create a storage for a site that is about to be created. |
return | Storage |