Class DummyStorage (namespace Nette\Caching)


Cache dummy storage.

Object
   |
   --DummyStorage

Implements interfaces:

Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Located: in /Caching/DummyStorage.php (line 36)
Public Method Summary
bool
clean ($conds)
Removes items from the cache by conditions & garbage collector.
mixed|NULL
read (string $key)
Read from cache.
bool
remove (string $key)
Removes item from the cache.
bool
write (string $key, mixed $data, $dp)
Writes item into the cache.
Methods Inherited From Object
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset()

Method Details

line 82

clean

public bool clean ($conds)

Removes items from the cache by conditions & garbage collector.

Implementation of:

Input
$conds conditions
Output
bool TRUE if no problem

line 44

read

public mixed|NULL read (string $key)

Read from cache.

Implementation of:

Input
string $key key
Output
mixed|NULL  

line 70

remove

public bool remove (string $key)

Removes item from the cache.

Implementation of:

Input
string $key key
Output
bool TRUE if no problem

line 58

write

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

Writes item into the cache.

Implementation of:

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