Class: FiletypeCache
Source Location: /blogs/inc/files/model/_filetypecache.class.php
Class FiletypeCache
Class Overview
|
FiletypeCache Class Located in /blogs/inc/files/model/_filetypecache.class.php [line 43] DataObjectCache | --FiletypeCacheAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
[ 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
add [line 60]
|
Add a dataobject to the cache
Parameters:| &$Obj: |
Redefinition of:
- DataObjectCache::add()
- Add a dataobject to the cache
[ Top ]
get_by_extension [line 101]
|
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 ]
