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

Class: GenericOrderedCache

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

Class GenericOrderedCache

Class Overview

GenericOrderedCache Class

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

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

Methods

[ 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 GenericCache

GenericCache::GenericCache()
Constructor
GenericCache::new_obj()
Instanciate a new object within this 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
GenericOrderedCache   GenericOrderedCache()   Constructor
unknown   move_down_by_ID()   Move down the element order in database
unknown   move_up_by_ID()   Move up the element order in database

[ Top ]
Methods
Constructor GenericOrderedCache  [line 47]

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

Constructor

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


[ Top ]
move_down_by_ID  [line 112]

  unknown move_down_by_ID( integer $id  )

Move down the element order in database

Parameters:
integer   $id:  id element


[ Top ]
move_up_by_ID  [line 59]

  unknown move_up_by_ID( integer $id  )

Move up the element order in database

Parameters:
integer   $id:  id element


[ Top ]