Class: SkinCache
Source Location: /blogs/inc/skins/model/_skincache.class.php
Class SkinCache
Class Overview
|
Skin Cache Class Located in /blogs/inc/skins/model/_skincache.class.php [line 41] DataObjectCache | --SkinCacheAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
[ Top ]
Property Summary
Method Summary
| SkinCache | SkinCache() | Constructor |
| boolean | add() | Add object to cache, handling our own indices. |
| Skin | &get_by_folder() | Get an object from cache by its folder name. |
| void | load_by_type() | Load the cache by type |
| void | &new_obj() | Instanciate a new object within this cache |
[ Top ]
Properties
Methods
add [line 68]
|
Add object to cache, handling our own indices.
Parameters:| Skin | &$Skin: |
API Tags:
| Return: | True on add, false if already existing. |
Redefinition of:
- DataObjectCache::add()
- Add a dataobject to the cache
[ Top ]
get_by_folder [line 87]
|
Get an object from cache by its folder name.
Load the object into cache, if necessary.
This is used to get a skin for an RSS/Aom type; also to check if a skin is installed.
Parameters:| string | $req_folder: | folder name of object to load |
| boolean | $halt_on_error: | false if you want to return false on error |
API Tags:
| Return: | A Skin object on success, false on failure (may also halt!) |
[ Top ]
load_by_type [line 123]
|
Load the cache by type
Parameters:| string | $type: |
[ Top ]
new_obj [line 157]
|
Instanciate a new object within this cache
Parameters:| $row: | ||
| $skin_folder: |
Redefinition of:
- DataObjectCache::new_obj()
- Instanciate a new object within this cache
[ Top ]
