Class: ItemCache
Source Location: /blogs/inc/MODEL/items/_itemcache.class.php
Class ItemCache
Class Overview
|
Item Cache Class Located in /blogs/inc/MODEL/items/_itemcache.class.php [line 46] DataObjectCache | --ItemCacheAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
| Inherited Properties | Inherited Methods | Inherited Constants |
|---|---|---|
|
Inherited From DataObjectCache |
Inherited From DataObjectCache
|
[ Top ]
Property Summary
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 ]
Methods
Constructor ItemCache [line 58]
|
Constructor
Parameters:| string | $objType: | object type of elements in Cache |
| string | $dbtablename: | Name of the DB table |
| string | $dbprefix: | Prefix of fields in the table |
| string | $dbIDname: | Name of the ID field (including prefix) |
[ Top ]
get_by_urltitle [line 71]
|
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 ]
