PHP 클래스 Piwik\Settings\Storage\Backend\PluginSettingsTable

If a value that needs to be stored is an array, will insert a new row for each value of this array.
상속: implements Piwik\Settings\Storage\Backend\BackendInterface
파일 보기 프로젝트 열기: piwik/piwik 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $pluginName, $userLogin )
delete ( )
getStorageId ( )
load ( )
removeAllSettingsForPlugin ( string $pluginName ) Unsets all settings for a plugin. The settings will be removed from the database. Used when a plugin is uninstalled.
removeAllUserSettingsForUser ( string $userLogin ) Unsets all settings for a user. The settings will be removed from the database. Used when a user is deleted.
save ( $values ) Saves (persists) the current setting values in the database.

비공개 메소드들

메소드 설명
getTableName ( )
initDbIfNeeded ( )

메소드 상세

__construct() 공개 메소드

public __construct ( $pluginName, $userLogin )

delete() 공개 메소드

public delete ( )

getStorageId() 공개 메소드

public getStorageId ( )

load() 공개 메소드

public load ( )

removeAllSettingsForPlugin() 공개 정적인 메소드

Unsets all settings for a plugin. The settings will be removed from the database. Used when a plugin is uninstalled.
public static removeAllSettingsForPlugin ( string $pluginName )
$pluginName string

removeAllUserSettingsForUser() 공개 정적인 메소드

Unsets all settings for a user. The settings will be removed from the database. Used when a user is deleted.
public static removeAllUserSettingsForUser ( string $userLogin )
$userLogin string

save() 공개 메소드

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