Module: nagvis Branch: nagvis-1.4 Commit: c0c9ba3aa4d3a483e828d5802e3d8482a777aed7 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=c0c9ba3aa4d3a483e828d5802e3d8482a777aed7
Author: LaMi <[email protected]> Date: Sun Mar 7 14:04:55 2010 +0100 Applied patch from H. Frenzel, thanx! make magicmethod __set public o avoid error --- .../classes/validator/GlobalValidatorInteger.php | 4 ++-- .../classes/validator/GlobalValidatorString.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nagvis/nagvis/includes/classes/validator/GlobalValidatorInteger.php b/nagvis/nagvis/includes/classes/validator/GlobalValidatorInteger.php index 736d9ca..2f9a32b 100644 --- a/nagvis/nagvis/includes/classes/validator/GlobalValidatorInteger.php +++ b/nagvis/nagvis/includes/classes/validator/GlobalValidatorInteger.php @@ -53,10 +53,10 @@ class GlobalValidatorInteger extends GlobalValidatorAbstract { * * @param string $name Name from variable * @param $value Value for variable - * @access private + * @access public * @author Michael Luebben <[email protected]> */ - private function __set($name, $value) { + public function __set($name, $value) { $this->name = $value; } diff --git a/nagvis/nagvis/includes/classes/validator/GlobalValidatorString.php b/nagvis/nagvis/includes/classes/validator/GlobalValidatorString.php index 98cb694..97c7b55 100644 --- a/nagvis/nagvis/includes/classes/validator/GlobalValidatorString.php +++ b/nagvis/nagvis/includes/classes/validator/GlobalValidatorString.php @@ -53,10 +53,10 @@ class GlobalValidatorString extends GlobalValidatorAbstract { * * @param string $name Name from variable * @param $value Value for variable - * @access private + * @access public * @author Michael Luebben <[email protected]> */ - private function __set($name, $value) { + public function __set($name, $value) { $this->name = $value; } ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
