b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (Version 2.4) [ class tree: evocore ] [ index: evocore ] [ all elements ]

Class: WidgetCache

Source Location: /blogs/inc/widgets/model/_widgetcache.class.php

Class WidgetCache

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::$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_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 ]
Property Summary
array   $cache_container_Widget_array   Cache by container

[ Top ]
Method Summary
WidgetCache   WidgetCache()   Constructor
array   &get_by_coll_container()  
array   &get_by_coll_ID()  
void   &new_obj()   Instanciate a new object within this cache

[ Top ]
Properties
array   $cache_container_Widget_array = array() [line 45]

Cache by container


[ Top ]
Methods
Constructor WidgetCache  [line 50]

  WidgetCache WidgetCache( )

Constructor



[ Top ]
get_by_coll_container  [line 127]

  array &get_by_coll_container( integer $coll_ID, string $container  )

Parameters:
integer   $coll_ID: 
string   $container: 

API Tags:
Return:  of Widget


[ Top ]
get_by_coll_ID  [line 60]

  array &get_by_coll_ID( integer $coll_ID  )

Parameters:
integer   $coll_ID: 

API Tags:
Return:  of coll_ID => array of container_name => array of Widget


[ Top ]
new_obj  [line 97]

  void &new_obj( [ $row = NULL]  )

Instanciate a new object within this cache

Parameters:
   $row: 


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

[ Top ]

Documentation generated on Sat, 06 Mar 2010 03:42:42 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).