phpDocumentor Cotonti
[ class tree: Cotonti ] [ index: Cotonti ] [ all elements ]

Class: Dynamic_cache_driver

Source Location: /cache.php

Class Dynamic_cache_driver

Class Overview

Dynamic cache is used to store data that is not too large

and is modified more or less frequently

Located in /cache.php [line 103]



		
				Author(s):
		
API Tags:
Abstract:  

Methods

[ Top ]
Descendants
Child Class Description
Writeback_cache_driver Persistent cache driver that writes all entries back on script termination.
Temporary_cache_driver Temporary cache driver is fast in-memory cache. It usually works faster and provides automatic garbage collection, but it doesn't save data if PHP stops whatsoever.

[ Top ]
Method Summary
bool   store()   Stores data as object image in cache

[ Top ]
Methods
store  [line 113]

  bool store( string $id, mixed $data, [string $realm = COT_DEFAULT_REALM], [int $ttl = COT_DEFAULT_TTL]  )

Stores data as object image in cache

Parameters:
string   $id:  Object identifier
mixed   $data:  Object value
string   $realm:  Realm name
int   $ttl:  Time to live, 0 for unlimited

API Tags:
Abstract:  
Access:  public


Redefined in descendants as:

[ Top ]

Documentation generated on Fri, 19 Mar 2010 17:45:21 +0000 by phpDocumentor 1.4.3