| [ Index ] |
PHP Cross Reference of Limb3 |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 308 lines (10 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
lmbToolkit:: (17 methods):
setTools()
setProperties()
instance()
_ensureInstance()
setup()
save()
restore()
extend()
merge()
set()
get()
setRaw()
getRaw()
__call()
_ensureSignatures()
_mapPropertyToGetMethod()
_mapPropertyToSetMethod()
Class: lmbToolkit - X-Ref
Toolkit is an implementation of Dinamic Service Locator pattern| setTools($tools) X-Ref |
| Sets new tools object and clear signatures cache param: lmbToolkitTools |
| setProperties($properties) X-Ref |
| Sets new set of toolkit data param: array |
| instance() X-Ref |
| Follows Singleton pattern interface Returns toolkit instance. Takes instance from {@link lmbRegistry) If instance is not initialized yet - creates one with empty tools return: lmbToolkit The only instance of lmbToolkit class |
| _ensureInstance() X-Ref |
| Ensures that instance of lmbToolkit class is exists. If instance is not initialized yet - creates one with empty tools return: void |
| setup($tools) X-Ref |
| Fills toolkit instance with suggested tools and registers this tools in {@ling lmbRegisty} return: lmbToolkit The only instance of lmbToolkit class |
| save() X-Ref |
| Save current tools object in registry stack and creates a new one using currently saved empty copy of tools object return: lmbToolkit The only instance of lmbToolkit class |
| restore() X-Ref |
| Restores previously saved tools object instance from {@link lmbRegistry} stack and sets this tools into toolkit instance return: lmbToolkit The only instance of lmbToolkit class |
| extend($tools) X-Ref |
| Extends current tools with new tools Merges tools together using {@link lmbCompositeNonItersectingToolkitTools} that doesn't allow tools methods intersection return: lmbToolkit The only instance of lmbToolkit class |
| merge($tools) X-Ref |
| Extends current tools with new tools Merges tools together using {@link lmbCompositeToolkitTools} return: lmbToolkit The only instance of lmbToolkit class |
| set($var, $value) X-Ref |
| Sets variable into toolkit Checks if appropriate setter method in tools exists to delegate to return: void |
| get($var) X-Ref |
| Gets variable from toolkit Checks if appropriate getter method in tools exists to delegate to return: void |
| setRaw($var, $value) X-Ref |
| Sets variable from toolkit Doesn't check if appropriate setter method in tools exists to delegate to return: void |
| getRaw($var) X-Ref |
| Gets variable from toolkit Doesn't check if appropriate getter method in tools exists to delegate to return: void |
| __call($method, $args) X-Ref |
| Magic caller. Delegates to {@link $tools} if $tools_signatures has required method param: string Method name param: array Method arguments return: mixed |
| _ensureSignatures() X-Ref |
| Caches tools signatures. Fills {@link $tools_signatures}. return: void |
| _mapPropertyToGetMethod($property) X-Ref |
| No description |
| _mapPropertyToSetMethod($property) X-Ref |
| No description |
| Generated: Thu Aug 28 04:51:15 2008 | Cross-referenced by PHPXref 0.7 |