protected function getValidationValue($control)
{
if ($control instanceof \Prado\Web\UI\IValidatable) {
return $control->getValidationPropertyValue();
} else {
throw new TInvalidDataTypeException('basevalidator_validatable_required', get_class($this));
}
}