메소드 | 설명 | |
---|---|---|
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. |
메소드 | 설명 | |
---|---|---|
makeStorage ( Piwik\Settings\Storage\Backend\BackendInterface $backend ) |
public getConfigStorage ( string $section ) : mixed | ||
$section | string | |
리턴 | 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 | |
리턴 | Storage |
public getNonPersistentStorage ( string $key ) : Storage | ||
$key | string | |
리턴 | 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 |
리턴 | 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. |
리턴 | Storage |