summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TCustomValidator.php
diff options
context:
space:
mode:
authorgodzilla80@gmx.net <>2009-04-04 09:53:57 +0000
committergodzilla80@gmx.net <>2009-04-04 09:53:57 +0000
commit9cb370b04651c559391e475db3696c99e7be2dcd (patch)
tree6cce32ff0bcfd9dc441b21b0d6745a5bfe9ea695 /framework/Web/UI/WebControls/TCustomValidator.php
parent466c414ebc9dde38e80f20fd96fd891431404fca (diff)
TBaseValidator, TCustomValidator: change visibilty (protected => public) of getValidationTarget()
Diffstat (limited to 'framework/Web/UI/WebControls/TCustomValidator.php')
-rw-r--r--framework/Web/UI/WebControls/TCustomValidator.php4
1 files changed, 2 insertions, 2 deletions
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;