system/classes/Validate.php
public function run()
    {
        if (count($this->errors) == 0) {
            return true;
        }
        else {
            $this->controller->setData('errors', $this->errors);
            return false;
        }
    }
public function run()
    {
        if (count($this->errors) == 0) {
            return true;
        }
        else {
            $this->controller->setData('errors', $this->errors);
            return false;
        }
    }
public function run ( ) { if ( count ( $ this -> errors ) == 0 ) { return true ; } else { $ this -> controller -> setData ( 'errors' , $ this -> errors ) ; return false ; } }
Passes list of errors to calling controller.
Returns TRUE if all checks passed. False otherwise.
Passes list of errors to calling controller . Returns TRUE if all checks passed . False otherwise .