Class: GenericCategoryCache
Source Location: /blogs/inc/MODEL/generic/_genericcategorycache.class.php
Class GenericCategoryCache
Class Overview
|
GenericCategoryCache class Located in /blogs/inc/MODEL/generic/_genericcategorycache.class.php [line 44] DataObjectCache | --GenericCache | --GenericCategoryCacheAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
| Inherited Properties | Inherited Methods | Inherited Constants |
|---|---|---|
|
Inherited From DataObjectCache |
Inherited From GenericCache
Inherited From DataObjectCache
|
[ Top ]
Property Summary
Method Summary
| GenericCategoryCache | GenericCategoryCache() | Constructor |
| void | parent_option_list_return() | Returns form option list with cache contents |
| string | recurse() | Return recursive display of loaded categories |
| string | recurse_select() | Return recursive select options list of all loaded categories |
| void | Reveal_children() | Reveal_children |
[ Top ]
Properties
Methods
Constructor GenericCategoryCache [line 58]
|
Constructor
Parameters:| $objtype: | ||
| $load_all: | ||
| $tablename: | ||
| $prefix: | ||
| $dbIDname: | ||
| $name_field: |
[ Top ]
parent_option_list_return [line 200]
|
Returns form option list with cache contents
Load the cache if necessary
Parameters:| integer | $default: | selected ID |
| boolean | $allow_none: | provide a choice for "none" with ID '' |
| $method: |
[ Top ]
recurse [line 109]
|
Return recursive display of loaded categories
Parameters:| array | $callbacks: | callback funtions (to format the display) |
| array | $cat_array: | categories list to display |
| int | $level: | depth of categories list |
API Tags:
| Return: | recursive list of all loaded categories |
[ Top ]
recurse_select [line 155]
|
Return recursive select options list of all loaded categories
Parameters:| integer | $selected: | selected category in the select input |
| array | $cat_array: | categories list to display |
| int | $level: | depth of categories list |
API Tags:
| Return: | select options list of all loaded categories |
[ Top ]
