PHP Класс Horde_Prefs_Cache_Base, horde

Автор: Michael Slusarz ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_params string 'user' is always available as an entry.

Открытые методы

Метод Описание
__construct ( string $user, array $params = [] ) Constructor.
get ( string $scope ) : mixed Retrieves the requested preferences scope from the cache backend.
remove ( string $scope = null ) Removes preferences from the cache.
store ( Horde_Prefs_Scope $scope_ob ) Stores preferences in the cache backend.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( string $user, array $params = [] )
$user string The username.
$params array Additional configuration parameters.

get() абстрактный публичный Метод

Retrieves the requested preferences scope from the cache backend.
abstract public get ( string $scope ) : mixed
$scope string Scope specifier.
Результат mixed Returns false if no data is available, otherwise the Horde_Prefs_Scope object.

remove() абстрактный публичный Метод

Removes preferences from the cache.
abstract public remove ( string $scope = null )
$scope string The scope to remove. If null, clears entire cache.

store() абстрактный публичный Метод

Stores preferences in the cache backend.
abstract public store ( Horde_Prefs_Scope $scope_ob )
$scope_ob Horde_Prefs_Scope The scope object to store.

Описание свойств

$_params защищенное свойство

'user' is always available as an entry.
protected string $_params
Результат string