PHP 클래스 Horde_Prefs_Cache_Base, horde

저자: Michael Slusarz ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_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