From e4999b25052d1ad9400a0f9fd5289a49eea1bddc Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sun, 25 Jan 2015 20:04:57 +0100 Subject: More namespace changes Changed version to 3.2.99; Attempt at fixing autoloading fixed enough namespaces to have some demos running --- framework/Web/UI/WebControls/TCompareValidator.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (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 3ba76a5f..a62ab5d1 100644 --- a/framework/Web/UI/WebControls/TCompareValidator.php +++ b/framework/Web/UI/WebControls/TCompareValidator.php @@ -10,11 +10,8 @@ */ namespace Prado\Web\UI\WebControls; - -/** - * Using TBaseValidator class - */ -Prado::using('System.Web.UI.WebControls.TBaseValidator'); +use Prado\TPropertyValue; +use Prado\Exceptions\TInvalidDataValueException; /** * TCompareValidator class @@ -202,7 +199,7 @@ class TCompareValidator extends TBaseValidator $dateFormat = $this->getDateFormat(); if($dateFormat!=='') { - $formatter = Prado::createComponent('System.Util.TSimpleDateFormatter', $dateFormat); + $formatter = Prado::createComponent('\\Prado\\Util\\TSimpleDateFormatter', $dateFormat); return array($formatter->parse($value1), $formatter->parse($value2)); } else -- cgit v1.2.3