Changeset 2567:6c11245cbf04 for inc/core/class.dc.namespace.php
- Timestamp:
- 11/17/13 20:30:21 (12 years ago)
- Branch:
- default
- Parents:
- 2564:c8bf313d697e (diff), 2566:9bf417837888 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.namespace.php
r2505 r2567 399 399 400 400 } 401 ?> -
inc/core/class.dc.namespace.php
r2566 r2567 125 125 126 126 /** 127 Returns global setting value if exists. 128 129 @param n <b>string</b> setting name 130 @return <b>mixed</b> 131 */ 132 public function getGlobal($n) 133 { 134 if (isset($this->global_settings[$n]['value'])) { 135 return $this->global_settings[$n]['value']; 136 } 137 138 return null; 139 } 140 141 /** 142 Returns local setting value if exists. 143 144 @param n <b>string</b> setting name 145 @return <b>mixed</b> 146 */ 147 public function getLocal($n) 148 { 149 if (isset($this->local_settings[$n]['value'])) { 150 return $this->local_settings[$n]['value']; 151 } 152 153 return null; 154 } 155 156 /** 127 157 Magic __get method. 128 158 @copydoc ::get
Note: See TracChangeset
for help on using the changeset viewer.