Ejemplo n.º 1
0
Archivo: Base.php Proyecto: no22/gongo
 public static function cfg($oCfg = null)
 {
     if (is_null($oCfg)) {
         return self::$cfg;
     }
     self::$cfg = $oCfg;
 }
Ejemplo n.º 2
0
 public function __construct($options = array())
 {
     if (Gongo_App::$environment) {
         $options = $this->defaultValue($options, '-mountPoint', Gongo_App::$environment->path->mountPoint);
     }
     parent::__construct($options);
 }
Ejemplo n.º 3
0
Archivo: App.php Proyecto: no22/gongo
 public function __construct($path = null, $options = array())
 {
     self::initializeApplication($this, $path);
     parent::__construct($options);
     $this->initializeSession();
     session_start();
     $this->initializeErrorHandler();
     $this->initializeExceptionHandler();
     $this->afterInit('url', $this->_afterInitUrl());
     self::cfg() && $this->afterInit('config', $this->_afterInitConfig());
 }
Ejemplo n.º 4
0
 function __construct($options = array())
 {
     parent::__construct($options);
     $this->afterInit('mapper', $this->_afterInitMapper());
     $this->afterInit('db', $this->_afterInitDb());
 }
Ejemplo n.º 5
0
Archivo: View.php Proyecto: no22/gongo
 public function __construct($aComponents = array())
 {
     parent::__construct($aComponents);
     $this->afterInit('context', $this->_initContext());
 }
Ejemplo n.º 6
0
Archivo: core.php Proyecto: no22/gongo
 public function __construct($options = array())
 {
     $this->setPathObj();
     $options = $this->defaultValue($options, '-dirpath', Gongo_App::$environment->path->{$this->templateType}->templatePath);
     parent::__construct($options);
 }