* @copyright 2004 by http://wombat.exit0.net * @package wombatSite * @subpackage factory */ /** * creator class * * implement specialized create function. * * @version 1.0.1 */ class wbFactory_wbDebugger { /** * special creator for gsErrorHandler * * @static * @access public * @param array $params mixed parameter to modify the creation process * @return object $obj reference to the created object * @see create() */ function &create( &$params ) { // set a "better" timestamp wbDebugger::adjustGenesis( wbFactory::getParam('timestampGenesis') ); $mode = wbFactory::getParam('debugMode'); $obj =& wbDebugger::singleton( wbFactory::getParam('debug'), $mode ); return $obj; } } ?>