Class: FiletypeCache
Source Location: /blogs/inc/MODEL/files/_filetypecache.class.php
Class FiletypeCache
Class Overview
|
Division Class Located in /blogs/inc/MODEL/files/_filetypecache.class.php [line 46] DataObjectCache | --FiletypeCacheAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
| Inherited Properties | Inherited Methods | Inherited Constants |
|---|---|---|
|
Inherited From DataObjectCache |
Inherited From DataObjectCache
|
[ Top ]
Property Summary
Method Summary
| FiletypeCache | FiletypeCache() | Constructor |
| void | add() | Add a dataobject to the cache |
| reference | &get_by_extension() | Get an object from cache by extensions ID |
[ Top ]
Methods
Constructor FiletypeCache [line 55]
|
Constructor
Parameters:| table | $db_row: | Database row |
[ Top ]
add [line 65]
|
Add a dataobject to the cache
Parameters:| &$Obj: |
Redefinition of:
- DataObjectCache::add()
- Add a dataobject to the cache
[ Top ]
get_by_extension [line 106]
|
Get an object from cache by extensions ID
Load the cache if necessary (all at once if allowed).
Parameters:| string | $req_ID: | Extension string of object to load |
| boolean | $halt_on_error: | true if function should die on error |
| boolean | $halt_on_empty: | true if function should die on empty/null |
API Tags:
| Return: | on cached object |
[ Top ]
