Prado\Web\UI\WebControls\TDataTypeValidator::evaluateIsValid PHP Méthode

evaluateIsValid() public méthode

The validation succeeds if the input data is of valid type. The validation always succeeds if ControlToValidate is not specified or the input data is empty.
public evaluateIsValid ( ) : boolean
Résultat boolean whether the validation succeeds
    public function evaluateIsValid()
    {
        if (($value = $this->getValidationValue($this->getValidationTarget())) === '') {
            return true;
        }
        return $this->evaluateDataTypeCheck($value);
    }