Esempio n. 1
0
 public function __construct()
 {
     parent::__construct();
     if (!isset($_COOKIE)) {
         throw new UndefinedHttpException("COOKIE");
     } else {
         $this->setAll($_COOKIE);
     }
 }
Esempio n. 2
0
 public function __construct()
 {
     parent::__construct();
     if (!isset($_SESSION)) {
         throw new UndefinedHttpException("SESSION");
     } else {
         $this->setAll($_SESSION);
     }
 }
Esempio n. 3
0
 public function __construct($config_path = '../app/config')
 {
     parent::__construct();
     $this->_config_path = rtrim($config_path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
     $this->loadAll();
 }