Esempio n. 1
0
 /**
  * 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;
 }
Esempio n. 2
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());
 }
Esempio n. 3
0
 /**
  * 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();
 }