PHP 클래스 phprs\util\ApcCache

저자: caoym
상속: implements phprs\util\KVCatchInterface
파일 보기 프로젝트 열기: caoym/phprs-restful

공개 메소드들

메소드 설명
del ( string $key ) : boolean
get ( string $key, boolean &$succeeded ) : mixed get
set ( string $key, string $var, integer $ttl ) : boolean

메소드 상세

del() 공개 메소드

public del ( string $key ) : boolean
$key string
리턴 boolean mixed Returns true on success or false on failure.

get() 공개 메소드

get
public get ( string $key, boolean &$succeeded ) : mixed
$key string
$succeeded boolean
리턴 mixed The stored variable or array of variables on success; false on failure

set() 공개 메소드

public set ( string $key, string $var, integer $ttl ) : boolean
$key string
$var string
$ttl integer
리턴 boolean bool Returns true on success or false on failure. Second syntax returns array with error keys.