Module: nagvis
Branch: master
Commit: e976f335b94c51fa608fbb97bd30b100153d5b9f
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=e976f335b94c51fa608fbb97bd30b100153d5b9f

Author: Lars Michelsen <[email protected]>
Date:   Tue May 18 22:10:54 2010 +0200

 #288 Fixed visibility of vars

---

 share/server/core/classes/objects/NagVisObject.php |    3 ++-
 .../core/classes/objects/NagVisStatefulObject.php  |    4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/share/server/core/classes/objects/NagVisObject.php 
b/share/server/core/classes/objects/NagVisObject.php
index eb9b287..e2d549c 100644
--- a/share/server/core/classes/objects/NagVisObject.php
+++ b/share/server/core/classes/objects/NagVisObject.php
@@ -32,7 +32,8 @@ class NagVisObject {
        protected $conf;
        
        // "Global" Configuration variables for all objects
-       protected $type;
+       // Highly used and therefor public to prevent continous getter calls
+       public $type;
        protected $object_id;
        protected $x;
        protected $y;
diff --git a/share/server/core/classes/objects/NagVisStatefulObject.php 
b/share/server/core/classes/objects/NagVisStatefulObject.php
index c3509e4..1136180 100644
--- a/share/server/core/classes/objects/NagVisStatefulObject.php
+++ b/share/server/core/classes/objects/NagVisStatefulObject.php
@@ -43,7 +43,9 @@ class NagVisStatefulObject extends NagVisObject {
        
        protected $state;
        protected $output;
-       protected $summary_state;
+       
+       // Highly used and therefor public to prevent continous getter calls
+       public $summary_state;
        protected $summary_output = '';
        protected $summary_problem_has_been_acknowledged;
        protected $summary_in_downtime;


------------------------------------------------------------------------------

_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to