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

getControlPromptValue() 보호된 메소드

protected getControlPromptValue ( ) : string
리턴 string the initial value of the associated input control. Defaults to empty string. If the associated input control does not change from this initial value upon postback, the validation fails.
    protected function getControlPromptValue()
    {
        $control = $this->getValidationTarget();
        if ($control instanceof TListControl) {
            return $control->getPromptValue();
        }
        return '';
    }