Prado\Web\UI\TPage::getIsValid PHP Метод

getIsValid() публичный Метод

This method must be invoked after {@link validate} is called.
public getIsValid ( ) : boolean
Результат boolean whether the user input is valid or not.
    public function getIsValid()
    {
        if ($this->_validated) {
            if ($this->_validators && $this->_validators->getCount()) {
                foreach ($this->_validators as $validator) {
                    if (!$validator->getIsValid()) {
                        return false;
                    }
                }
            }
            return true;
        } else {
            throw new TInvalidOperationException('page_isvalid_unknown');
        }
    }