Changeset 2229:d5e819e27bea for inc/core/class.dc.workspace.php
- Timestamp:
 - 10/03/13 15:17:58 (12 years ago)
 - Branch:
 - default
 - File:
 - 
          
- 1 edited
 
- 
          inc/core/class.dc.workspace.php (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
inc/core/class.dc.workspace.php
r1179 r2229 127 127 return null; 128 128 } 129 129 130 /** 131 Returns global pref value if exists. 132 133 @param n <b>string</b> Pref name 134 @return <b>mixed</b> 135 */ 136 public function getGlobal($n) 137 { 138 if (isset($this->global_prefs[$n]['value'])) { 139 return $this->global_prefs[$n]['value']; 140 } 141 142 return null; 143 } 144 145 /** 146 Returns local pref value if exists. 147 148 @param n <b>string</b> Pref name 149 @return <b>mixed</b> 150 */ 151 public function getLocal($n) 152 { 153 if (isset($this->local_prefs[$n]['value'])) { 154 return $this->local_prefs[$n]['value']; 155 } 156 157 return null; 158 } 130 159 /** 131 160 Magic __get method.  
Note: See TracChangeset
          for help on using the changeset viewer.
      