public function __construct($options = array()) { if (Gongo_App::$environment) { $options = $this->defaultValue($options, '-mountPoint', Gongo_App::$environment->path->mountPoint); } parent::__construct($options); }
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()); }
function __construct($options = array()) { parent::__construct($options); $this->afterInit('mapper', $this->_afterInitMapper()); $this->afterInit('db', $this->_afterInitDb()); }
public function __construct($aComponents = array()) { parent::__construct($aComponents); $this->afterInit('context', $this->_initContext()); }
public function __construct($options = array()) { $this->setPathObj(); $options = $this->defaultValue($options, '-dirpath', Gongo_App::$environment->path->{$this->templateType}->templatePath); parent::__construct($options); }