Interface ICacheStorage (namespace Nette\Caching)


Cache storage.


Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Located: in /Caching/ICacheStorage.php (line 30)
Public Method Summary
bool
clean ($conds)
Removes items from the cache by conditions.
mixed|NULL
read (string $key)
Read from cache.
bool
remove (string $key)
Removes item from the cache.
bool
write (string $key, mixed $data, $dependencies)
Writes item into the cache.

Method Details

line 61

clean

public bool clean ($conds)

Removes items from the cache by conditions.

Input
$conds conditions
Output
bool TRUE if no problem

line 38

read

public mixed|NULL read (string $key)

Read from cache.

Input
string $key key

line 54

remove

public bool remove (string $key)

Removes item from the cache.

Input
string $key key
Output
bool TRUE if no problem

line 47

write

public bool write (string $key, mixed $data, $dependencies)

Writes item into the cache.

Input
string $key key
mixed $data data
$dependencies dependencies
Output
bool TRUE if no problem