Core/Orm/Validation/Validation.php
public function check() {
        $this->_errors = [];

        /** @var $element \Gcs\Framework\Core\Orm\Validation\Element\Element */
        foreach ($this->_elements as $element) {
            $element->check();

            if ($element->valid() == false) {
                $this->_errors = array_merge($this->_errors, $element->errors());
            }
        }
    }
public function check() {
        $this->_errors = [];

        /** @var $element \Gcs\Framework\Core\Orm\Validation\Element\Element */
        foreach ($this->_elements as $element) {
            $element->check();

            if ($element->valid() == false) {
                $this->_errors = array_merge($this->_errors, $element->errors());
            }
        }
    }
public function check ( ) { $ this -> _errors = [ ] ; /** @var $element \Gcs\Framework\Core\Orm\Validation\Element\Element */ foreach ( $ this -> _elements as $ element ) { $ element -> check ( ) ; if ( $ element -> valid ( ) == false ) { $ this -> _errors = array_merge ( $ this -> _errors , $ element -> errors ( ) ) ; } } }
check a form request
@access public
@return void
@since 3.0
@package Gcs\Framework\Core\Orm\Validation
check a form request