From 9cb370b04651c559391e475db3696c99e7be2dcd Mon Sep 17 00:00:00 2001 From: "godzilla80@gmx.net" <> Date: Sat, 4 Apr 2009 09:53:57 +0000 Subject: TBaseValidator, TCustomValidator: change visibilty (protected => public) of getValidationTarget() --- framework/Web/UI/WebControls/TCustomValidator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Web/UI/WebControls/TCustomValidator.php') diff --git a/framework/Web/UI/WebControls/TCustomValidator.php b/framework/Web/UI/WebControls/TCustomValidator.php index 0b82ac5c..7fed2b84 100644 --- a/framework/Web/UI/WebControls/TCustomValidator.php +++ b/framework/Web/UI/WebControls/TCustomValidator.php @@ -112,11 +112,11 @@ class TCustomValidator extends TBaseValidator else return $param->getIsValid(); } - + /** * @return TControl control to be validated. Null if no control is found. */ - protected function getValidationTarget() + public function getValidationTarget() { if(($id=$this->getControlToValidate())!=='' && ($control=$this->findControl($id))!==null) return $control; -- cgit v1.2.3