public function __construct()
 {
     $this->app = App::getInstance();
     $this->view = View::getInstance();
     $this->config = $this->app->getConfig();
     $this->input = InputData::getInstance();
     $this->session = $this->app->getSession();
     $this->db = new SimpleDB();
 }
Esempio n. 2
0
 /**
  * @param $title
  *
  * @return $this
  */
 protected function setTitle($title)
 {
     View::getInstance()->setTitle($title);
     return $this;
 }