diff options
author | xue <> | 2006-01-16 22:22:39 +0000 |
---|---|---|
committer | xue <> | 2006-01-16 22:22:39 +0000 |
commit | 473e29dfcec480bd146bc31e42f0f9438b7210f9 (patch) | |
tree | 033dfe5c923446ae1178b9af596b274cf067bc13 /framework/Web/UI/WebControls/TCompareValidator.php | |
parent | 318ca1a7cc0085f36a6ca6648b6b2a7eb2bab295 (diff) |
Added validation examples.
Diffstat (limited to 'framework/Web/UI/WebControls/TCompareValidator.php')
-rw-r--r-- | framework/Web/UI/WebControls/TCompareValidator.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/Web/UI/WebControls/TCompareValidator.php b/framework/Web/UI/WebControls/TCompareValidator.php index b7363792..cfc2e876 100644 --- a/framework/Web/UI/WebControls/TCompareValidator.php +++ b/framework/Web/UI/WebControls/TCompareValidator.php @@ -235,6 +235,7 @@ class TCompareValidator extends TBaseValidator $value2=0;
return array($value1, $value2);
case 'Date':
+ throw new TNotSupportedException('Date comparison for TCompareValidator is currently not supported. It will be supported in future.');
$dateFormat = $this->getDateFormat();
if (strlen($dateFormat))
return array(pradoParseDate($value1, $dateFormat), pradoParseDate($value2, $dateFormat));
|