Prado\Web\UI\WebControls\TRequiredFieldValidator::evaluateIsValid PHP 메소드

evaluateIsValid() 보호된 메소드

The validation succeeds if the input component changes its data from the {@link getInitialValue InitialValue} or the input control is not given. Validation will also succeed if input is of TListControl type and the number of selected values different from the initial value is greater than zero.
protected evaluateIsValid ( ) : boolean
리턴 boolean whether the validation succeeds
    protected function evaluateIsValid()
    {
        $control = $this->getValidationTarget();
        if ($control instanceof TListControl) {
            return $this->validateListControl($control);
        } else {
            if ($control instanceof TRadioButton && strlen($control->getGroupName()) > 0) {
                return $this->validateRadioButtonGroup($control);
            } else {
                return $this->validateStandardControl($control);
            }
        }
    }