Changeset 6729
- Timestamp:
- 10/06/08 14:21:04 (2 months ago)
- Files:
-
- 1 modified
-
trunk/centreon/www/class/centreonGMT.class.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/centreon/www/class/centreonGMT.class.php
r6638 r6729 20 20 var $listGTM; 21 21 var $myGMT; 22 var $use; 22 23 23 24 function CentreonGMT(){ … … 52 53 $this->listGTM['11'] = 11; 53 54 $this->listGTM['12'] = 12; 55 56 /* 57 * Flag activ / inactiv 58 */ 59 $this->use = 1; 60 } 61 62 function used(){ 63 return $this->use; 54 64 } 55 65 … … 61 71 function getGMTList() { 62 72 return $this->listGTM; 73 } 74 75 function getMyGMT(){ 76 return "+".$this->myGMT; 77 } 78 79 function getMyGMTForRRD(){ 80 $gmt = (-1 * $this->myGMT); 81 if ($gmt > 0) 82 $gmt = "+$gmt"; 83 return $gmt; 63 84 } 64 85
