public getValidationPropertyValue ( ) : integer | ||
Résultat | 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;
}