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

Class: Db_cache_driver

Source Location: /cache.php

Class Db_cache_driver

Class Overview

Query cache drivers are driven by database

Located in /cache.php [line 185]

Dynamic_cache_driver
   |
   --Writeback_cache_driver
      |
      --Db_cache_driver
Author(s):
API Tags:
Abstract:  

Methods

[ Top ]
Descendants
Child Class Description
MySQL_cache A very popular caching solution using MySQL as a storage. It is quite slow compared to File_cache but may be considered more reliable.

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Writeback_cache_driver

Writeback_cache_driver::$removed_data
Writeback_cache_driver::$writeback_data

Inherited From Writeback_cache_driver

Writeback_cache_driver::remove()
Removes cache image of the object from the database
Writeback_cache_driver::remove_now()
Removes item immediately, avoiding writeback.
Writeback_cache_driver::store()
Stores data as object image in cache
Writeback_cache_driver::store_now()
Writes item to cache immediately, avoiding writeback.
Writeback_cache_driver::__destruct()
Writes modified entries back to persistent storage

Inherited From Dynamic_cache_driver

Dynamic_cache_driver::store()
Stores data as object image in cache

[ Top ]
Method Summary
int   get_all()   Loads all variables from a specified realm(s) into the global scope

[ Top ]
Methods
get_all  [line 192]

  int get_all( [mixed $realm = COT_DEFAULT_REALM]  )

Loads all variables from a specified realm(s) into the global scope

Parameters:
mixed   $realm:  Realm name or array of realm names

API Tags:
Return:  Number of items loaded
Abstract:  
Access:  public


Redefined in descendants as:

[ Top ]

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