Свойство | Тип | Описание | |
---|---|---|---|
$_fileCache | array | Cached unserialized data of all scopes. | |
$_fullpath | string | Full path to the current preference file. |
Метод | Описание | |
---|---|---|
__construct ( string $user, array $params = [] ) | Constructor. | |
get ( Horde_Prefs_Scope $scope_ob ) : Horde_Prefs_Scope | Retrieves the requested preferences scope from the storage backend. | |
listScopes ( ) : array | Lists all available scopes. | |
remove ( string $scope = null, string $pref = null ) | Removes preferences from the backend. | |
store ( Horde_Prefs_Scope $scope_ob ) | Stores changed preferences in the storage backend. | |
updateFileFormat ( ) | Updates format of file. |
Метод | Описание | |
---|---|---|
_loadFileCache ( ) : boolean | Load the preferences from the files. |
public __construct ( string $user, array $params = [] ) | ||
$user | string | The username. |
$params | array | Configuration parameters:
'directory' - (string) [REQUIRED] Preference storage directory. |
protected _loadFileCache ( ) : boolean | ||
Результат | boolean | True on success. |
public get ( Horde_Prefs_Scope $scope_ob ) : Horde_Prefs_Scope | ||
$scope_ob | Horde_Prefs_Scope | The scope object. |
Результат | Horde_Prefs_Scope | The modified scope object. |
public listScopes ( ) : array | ||
Результат | array | The list of scopes stored in the backend. |
public store ( Horde_Prefs_Scope $scope_ob ) | ||
$scope_ob | Horde_Prefs_Scope | The scope object. |
protected array $_fileCache | ||
Результат | array |
protected string $_fullpath | ||
Результат | string |