Class: ItemTypeCache
Source Location: /blogs/inc/MODEL/items/_itemtypecache.class.php
Class ItemTypeCache
Class Overview
|
ItemTypeCache Class Located in /blogs/inc/MODEL/items/_itemtypecache.class.php [line 46] DataObjectCache | --ItemTypeCacheAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
| Inherited Properties | Inherited Methods | Inherited Constants |
|---|---|---|
|
Inherited From DataObjectCache |
Inherited From DataObjectCache
|
[ 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 |
| void | load_col() | Load a list of item types for a given collection and store them into the collection cache |
| void | option_list_by_col_ID() | Returns form option list with cache contents restricted to a collection |
[ Top ]
Properties
Methods
Constructor ItemTypeCache [line 64]
|
Constructor
Parameters:| table | 0: | Database row |
[ Top ]
get_col_default_type_ID [line 106]
|
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 ]
load_col [line 76]
|
Load a list of item types for a given collection and store them into the collection cache
Note: object will also get stored into the global cache.
Parameters:| $col_ID: |
[ Top ]
option_list_by_col_ID [line 127]
|
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 ]
