b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (0.9.x) [ class tree: evocore ] [ index: evocore ] [ all elements ]

Class: ItemCache

Source Location: /blogs/b2evocore/_class_itemcache.php

Class ItemCache

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From DataObjectCache

DataObjectCache::DataObjectCache()
Constructor
DataObjectCache::add()
Add a dataobject to the cache
DataObjectCache::clear()
Clear the cache **extensively**
DataObjectCache::get_by_ID()
Get an object from cache by ID
DataObjectCache::load_all()
Load the cache **extensively**
DataObjectCache::load_list()
Load a list of objects into the cache
DataObjectCache::option_list()
Display form option list with cache contents

[ Top ]
Method Summary
ItemCache   ItemCache()   Constructor
void   get_by_urltitle()   Get an object from cache by its urltitle
void   load_urltitle_array()   Load a list of item referenced by their urltitle into the cache

[ Top ]
Properties
mixed   $urltitle_index = array() [line 25]

[ Top ]
Methods
Constructor ItemCache  [line 32]

  ItemCache ItemCache( )

Constructor



[ Top ]
get_by_urltitle  [line 49]

  void get_by_urltitle( string $req_urltitle, [boolean $halt_on_error = true]  )

Get an object from cache by its urltitle

Load into cache if necessary

Parameters:
string   $req_urltitle:  stub of object to load
boolean   $halt_on_error:  false if you want to return false on error


[ Top ]
load_urltitle_array  [line 92]

  void load_urltitle_array( array $req_array  )

Load a list of item referenced by their urltitle into the cache

Parameters:
array   $req_array:  of urltitles of Items to load


[ Top ]

Documentation generated on Tue, 20 May 2008 01:53:11 +0200 by phpDocumentor 1.4.2