My Project
 All Data Structures Namespaces Functions Variables
Public Member Functions
CI_Cache_dummy Class Reference
Inheritance diagram for CI_Cache_dummy:
CI_Driver

Public Member Functions

 get ($id)
 
 save ($id, $data, $ttl=60)
 
 delete ($id)
 
 clean ()
 
 cache_info ($type=NULL)
 
 get_metadata ($id)
 
 is_supported ()
 
- Public Member Functions inherited from CI_Driver
 decorate ($parent)
 
 __call ($method, $args=array())
 
 __get ($var)
 
 __set ($var, $val)
 

Additional Inherited Members

- Protected Attributes inherited from CI_Driver
 $parent
 

Member Function Documentation

cache_info (   $type = NULL)

Cache Info

Parameters
stringuser/filehits
Returns
boolean FALSE
clean ( )

Clean the cache

Returns
boolean TRUE, simulating success
delete (   $id)

Delete from Cache

Parameters
mixedunique identifier of the item in the cache
booleanTRUE, simulating success
get (   $id)

Get

Since this is the dummy class, it's always going to return FALSE.

Parameters
string
Returns
Boolean FALSE
get_metadata (   $id)

Get Cache Metadata

Parameters
mixedkey to get cache metadata on
Returns
boolean FALSE
is_supported ( )

Is this caching driver supported on the system? Of course this one is.

Returns
TRUE;
save (   $id,
  $data,
  $ttl = 60 
)

Cache Save

Parameters
stringUnique Key
mixedData to store
intLength of time (in seconds) to cache the data
Returns
boolean TRUE, Simulating success

The documentation for this class was generated from the following file: