PHP 인터페이스 Horde_Data_Storage, horde

Copyright 2012-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
저자: Michael Slusarz ([email protected])
파일 보기 프로젝트 열기: horde/horde 0 사용 예제들

공개 메소드들

메소드 설명
clear ( ) Clear all stored data.
exists ( string $key ) : boolean Does the key exist?
get ( string $key ) : mixed Retrieve the data for a key.
set ( string $key, mixed $value = null ) Set the data for a key.

메소드 상세

clear() 공개 메소드

Clear all stored data.
public clear ( )

exists() 공개 메소드

Does the key exist?
public exists ( string $key ) : boolean
$key string Key.
리턴 boolean Does the key exist?

get() 공개 메소드

Retrieve the data for a key.
public get ( string $key ) : mixed
$key string Key.
리턴 mixed Data value.

set() 공개 메소드

Set the data for a key.
public set ( string $key, mixed $value = null )
$key string Key.
$value mixed Value. If null, clears the key value.