Toolbox is a Registry for Utility Singletons
Tools are loosely coupled collections of utility-functions which can be called statically. The Toolbox is a Registry for these tools.
To use a tool function you have to register the Tool class first, using the register method of the toolbox. Then simply call Toolbox::employ( ) with the name of the tool function and its parameters to use the utility whenever you need it.
If you register two Tool classes with identical method names, the second Tool will override the first on register.
Located in /toolbox.php (line 26)
PHOOL | --Toolbox
Static container for Tool objects
Static container for tool signatures
Inherited from PHOOL
PHOOL::$debug
PHOOL::$errorlabels
PHOOL::$errorlevels
PHOOL::$errors
PHOOL::$exists
PHOOL::$logdir
PHOOL::$loglevel
PHOOL::$objname
Use a tool from toolbox and call tool function
You may pass parameters into this functions as you like.
Check if a tool exists
Create and register a Tool object instance.
Inherited From PHOOL
PHOOL::PHOOL()
PHOOL::debug()
PHOOL::error()
PHOOL::get_errors()
PHOOL::handle_error()
PHOOL::has_error()
PHOOL::log_error()
PHOOL::set_debug()
PHOOL::set_logdir()
PHOOL::set_loglevel()
Documentation generated on Tue, 12 May 2009 23:09:43 +0200 by phpDocumentor 1.4.1