Ejemplo n.º 1
0
 /**
  * @param object $abc
  */
 public function __construct($abc)
 {
     $this->abc = $abc;
     $this->config = $abc->getFromStorage('config');
     $this->request = $abc->getFromStorage('Request');
     $this->settings = $this->config['settings'];
 }
Ejemplo n.º 2
0
 /**
  * @param object $abc
  */
 public function __construct($abc)
 {
     $this->config = $abc->getConfig();
     $this->router = $abc->getFromStorage('Router');
     $this->request = $abc->getFromStorage('Request');
     $this->parser = $abc->getFromStorage('RouteParser');
 }
Ejemplo n.º 3
0
 /**
  * @param object $abc
  */
 public function __construct($abc)
 {
     $this->config = $abc->getFromStorage('config');
     $this->router = $abc->getFromStorage('Router');
     if (!empty($_SERVER['QUERY_STRING'])) {
         $this->GET = $this->parseQueryString();
     } else {
         $this->GET = $this->parseRequestUri();
     }
 }