Class: ItemTypeCache
Source Location: /blogs/inc/items/model/_itemtypecache.class.php
Class ItemTypeCache
Class Overview
|
ItemTypeCache Class Located in /blogs/inc/items/model/_itemtypecache.class.php [line 43] DataObjectCache | --ItemTypeCacheAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
[ Top ]
Property Summary
| mixed | $col_cache | Item type cache for each collection |
| mixed | $col_default | Default item type for each collection |
[ Top ]
Method Summary
| ItemTypeCache | ItemTypeCache() | Constructor |
| void | get_col_default_type_ID() | Return the default item type ID for a given collection |
| string | get_option_list_by_col_ID() | Returns form option list with cache contents restricted to a collection |
| void | load_col() | Load a list of item types for a given collection and store them into the collection cache |
[ Top ]
Properties
Methods
Constructor ItemTypeCache [line 61]
|
Constructor
Parameters:| table | 0: | Database row |
[ Top ]
get_col_default_type_ID [line 103]
|
Return the default item type ID for a given collection
fp> will be used in b2evo 2.0
Parameters:| integer | $col_ID: | collection ID |
[ Top ]
get_option_list_by_col_ID [line 125]
|
Returns form option list with cache contents restricted to a collection
Load the item types collection cache if necessary
fp> will be used in b2evo 2.0
Parameters:| integer | $default: | selected ID |
| integer | $col_ID: | collection ID |
[ Top ]
