Prado\Web\UI\WebControls\TDatePicker::getValidationPropertyValue PHP Method

getValidationPropertyValue() public method

This methid is required by \Prado\Web\UI\IValidatable interface.
public getValidationPropertyValue ( ) : integer
return integer the interger timestamp if valid, otherwise the original text.
    public function getValidationPropertyValue()
    {
        if (($text = $this->getText()) === '') {
            return '';
        }
        $date = $this->getTimeStamp();
        return $date == null ? $text : $date;
    }