From 473e29dfcec480bd146bc31e42f0f9438b7210f9 Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 16 Jan 2006 22:22:39 +0000 Subject: Added validation examples. --- framework/Web/UI/WebControls/TCompareValidator.php | 1 + 1 file changed, 1 insertion(+) (limited to 'framework/Web/UI/WebControls/TCompareValidator.php') 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)); -- cgit v1.2.3