/** * Constructor */ public function __construct(ZObject &$parent = null, $a_name = null) { ZProfiler::start('Application'); parent::__construct($parent, $a_name); $this->m_errors = array(); $this->m_except = array(); $this->m_database = null; $this->m_app_route_deep = 0; }
/** * Constructor */ public function __construct(ZObject &$parent = null, $a_name = null) { parent::__construct($parent, $a_name); ZProfiler::start('Application'); $this->m_errors = array(); $this->m_except = array(); $this->m_database = null; $this->setRouter(new ZRouter()); }
/** * Constructor */ public function __construct() { ZProfiler::start('Application'); $this->setName(ZModule::DEFAULT_MODULE_NAME); $this->setBaseDir(Zoombi::getBootDir()); $this->setConfig(Zoombi::fromFrameworkDir('config.php')); parent::__construct(); $this->m_errors = array(); $this->m_except = array(); $this->m_database = null; $this->m_app_route_deep = 0; $this->m_route_transform = array(); }
/** * Constructor */ public function __construct() { parent::__construct(); $this->m_config = new ZConfig(); ZProfiler::start('Application'); $this->m_errors = array(); $this->m_except = array(); $this->m_flag = array(); $this->m_database = null; //$this->setLanguage( new ZLanguage() ); $this->setRegistry(new ZRegistry()); $this->setMode(ZApplication::MODE_NORMAL); $this->setRouter(new ZRouter()); $this->setDispatcher(Zoombi::getDispatcher()); $this->setPluginManager(new ZPluginManager()); }