protected getControlPromptValue ( ) : string | ||
Résultat | 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 '';
}