PHP 클래스 CI_Cache_dummy, TastyIgniter

저자: EllisLab Dev Team
상속: extends CI_Driver
파일 보기 프로젝트 열기: tastyigniter/tastyigniter

공개 메소드들

메소드 설명
cache_info ( $type = NULL ) : boolean Cache Info
clean ( ) : boolean Clean the cache
decrement ( string $id, integer $offset = 1 ) : mixed Decrement a raw value
delete ( $id ) : boolean Delete from Cache
get ( $id ) : boolean Get
get_metadata ( $id ) : boolean Get Cache Metadata
increment ( string $id, integer $offset = 1 ) : mixed Increment a raw value
is_supported ( ) : boolean Is this caching driver supported on the system? Of course this one is.
save ( $id, $data, $ttl = 60, $raw = FALSE ) : boolean Cache Save

메소드 상세

cache_info() 공개 메소드

Cache Info
public cache_info ( $type = NULL ) : boolean
리턴 boolean FALSE

clean() 공개 메소드

Clean the cache
public clean ( ) : boolean
리턴 boolean TRUE, simulating success

decrement() 공개 메소드

Decrement a raw value
public decrement ( string $id, integer $offset = 1 ) : mixed
$id string Cache ID
$offset integer Step/value to reduce by
리턴 mixed New value on success or FALSE on failure

delete() 공개 메소드

Delete from Cache
public delete ( $id ) : boolean
리턴 boolean TRUE, simulating success

get() 공개 메소드

Since this is the dummy class, it's always going to return FALSE.
public get ( $id ) : boolean
리턴 boolean FALSE

get_metadata() 공개 메소드

Get Cache Metadata
public get_metadata ( $id ) : boolean
리턴 boolean FALSE

increment() 공개 메소드

Increment a raw value
public increment ( string $id, integer $offset = 1 ) : mixed
$id string Cache ID
$offset integer Step/value to add
리턴 mixed New value on success or FALSE on failure

is_supported() 공개 메소드

Is this caching driver supported on the system? Of course this one is.
public is_supported ( ) : boolean
리턴 boolean TRUE

save() 공개 메소드

Cache Save
public save ( $id, $data, $ttl = 60, $raw = FALSE ) : boolean
리턴 boolean TRUE, Simulating success