PHP 클래스 Elgg\Cache\NullCache

This will eventually be replaced by something like Elgg\Cache\NullPool.
상속: extends ElggSharedMemoryCache
파일 보기 프로젝트 열기: elgg/elgg

공개 메소드들

메소드 설명
clear ( ) : true Clears the entire cache (does not work)
delete ( string $key ) : boolean Delete data
load ( string $key, integer $offset, integer $limit = null ) : mixed Retrieves data.
save ( string $key, string $data, integer $ttl = null ) : boolean Saves a name and value to the cache

메소드 상세

clear() 공개 메소드

Clears the entire cache (does not work)
public clear ( ) : true
리턴 true

delete() 공개 메소드

Delete data
public delete ( string $key ) : boolean
$key string Unused
리턴 boolean

load() 공개 메소드

Retrieves data.
public load ( string $key, integer $offset, integer $limit = null ) : mixed
$key string Unused
$offset integer Unused
$limit integer Unused
리턴 mixed

save() 공개 메소드

Saves a name and value to the cache
public save ( string $key, string $data, integer $ttl = null ) : boolean
$key string Unused
$data string Unused
$ttl integer Unused
리턴 boolean