Prado\Web\UI\WebControls\TCustomValidator::evaluateIsValid PHP Method

evaluateIsValid() public method

The validation succeeds if {@link onServerValidate} returns true.
public evaluateIsValid ( ) : boolean
return boolean whether the validation succeeds
    public function evaluateIsValid()
    {
        $value = '';
        if ($this->getValidationTarget() !== null) {
            $value = $this->getValidationValue($this->getValidationTarget());
        }
        return $this->onServerValidate($value);
    }