Метод | Описание | |
---|---|---|
__construct ( |
||
deletePreference ( string $key ) | Removes a specific system preference | |
getPreference ( string $key ) : |
Returns a specific preference object | |
getPreferences ( ) : |
Returns all system preferences | |
getSystemPreferenceValue ( string $key ) : string | Returns a specific preference value | |
setSystemPreference ( string $key, string $value ) : |
Creates or updates a preference for a given user. |
public __construct ( |
||
$entityManager |
public deletePreference ( string $key ) | ||
$key | string | The key to delete |
public getPreference ( string $key ) : |
||
$key | string | The preference key to retrieve |
Результат | The preference object |
public getPreferences ( ) : |
||
Результат | An array of SystemPreference objects |
public getSystemPreferenceValue ( string $key ) : string | ||
$key | string | The preference key to retrieve |
Результат | string | The preference string |
public setSystemPreference ( string $key, string $value ) : |
||
$key | string | The key to set |
$value | string | The value to set |
Результат | The user preference |