Prado\Web\UI\WebControls\TCompareValidator::setDataType PHP Method

setDataType() public method

Sets the data type that the values being compared are converted to before the comparison is made.
public setDataType ( $value )
    public function setDataType($value)
    {
        $this->setViewState('DataType', TPropertyValue::ensureEnum($value, 'Prado\\Web\\UI\\WebControls\\TValidationDataType'), TValidationDataType::String);
    }