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

Class: GenericCache

Source Location: /qp_inc/generic/model/_genericcache.class.php

Class GenericCache

Class Overview

GenericCache Class

Located in /qp_inc/generic/model/_genericcache.class.php [line 42]

DataObjectCache
   |
   --GenericCache
Author(s):
Information Tags:
Version:  beta

Methods

[ Top ]
Descendants
Child Class Description
GenericCategoryCache GenericCategoryCache class
GenericOrderedCache GenericOrderedCache Class

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

Inherited From DataObjectCache

DataObjectCache::$all_loaded
DataObjectCache::$cache
DataObjectCache::$current_idx
DataObjectCache::$DataObject_array
DataObjectCache::$dbIDname
DataObjectCache::$dbprefix
DataObjectCache::$dbtablename
DataObjectCache::$load_all
DataObjectCache::$name_field
DataObjectCache::$none_option_text
DataObjectCache::$none_option_value
DataObjectCache::$objtype
DataObjectCache::$order_by
DataObjectCache::$shadow_cache

Inherited From DataObjectCache

DataObjectCache::DataObjectCache()
Constructor
DataObjectCache::add()
Add a dataobject to the cache
DataObjectCache::clear()
Clear the cache **extensively**
DataObjectCache::dbdelete_by_ID()
Delete an object from DB by ID.
DataObjectCache::get_by_ID()
Get an object from cache by ID
DataObjectCache::get_by_name()
Get an object from cache by name
DataObjectCache::get_first()
This provides a simple interface for looping over the contents of the Cache.
DataObjectCache::get_ID_array()
Get an array of all (loaded) IDs.
DataObjectCache::get_next()
This provides a simple interface for looping over the contents of the Cache.
DataObjectCache::get_option_array()
Returns option array with cache contents
DataObjectCache::get_option_list()
Returns form option list with cache contents
DataObjectCache::instantiate()
Instantiate a DataObject from a table row and then cache it.
DataObjectCache::load_all()
Load the cache **extensively**
DataObjectCache::load_list()
Load a list of objects into the cache
DataObjectCache::new_obj()
Instanciate a new object within this cache
DataObjectCache::remove_by_ID()
Remove an object from cache by ID

[ Top ]
Method Summary
GenericCache   GenericCache()   Constructor
void   &new_obj()   Instanciate a new object within this cache

[ Top ]
Methods
Constructor GenericCache  [line 47]

  GenericCache GenericCache( $objtype, $load_all, $tablename, [ $prefix = ''], [ $dbIDname = 'ID'], [ $name_field = NULL], [ $order_by = ''], [ $allow_none_text = NULL]  )

Constructor

Parameters:
   $objtype: 
   $load_all: 
   $tablename: 
   $prefix: 
   $dbIDname: 
   $name_field: 
   $order_by: 
   $allow_none_text: 


[ Top ]
new_obj  [line 58]

  void &new_obj( [object|NULL $row = NULL]  )

Instanciate a new object within this cache

Parameters:
object|NULL   $row: 


Redefinition of:
DataObjectCache::new_obj()
Instanciate a new object within this cache

Redefined in descendants as:

[ Top ]