public function __construct()
 {
     $this->view = View::getInstance();
     $this->session = Session::getInstance();
     $this->redirect = Redirect::getInstance();
     $this->validation = Validation::getInstance();
     $this->auth = Auth::getInstance();
 }
Exemplo n.º 2
0
 public static function getErrors()
 {
     return \SSFrame\Validation::getInstance()->getErrors();
 }