- Timestamp:
- 05/22/08 16:00:53 (5 months ago)
- Files:
-
- trunk/XJConf/XJConfFacade.php (modified) (1 diff)
- trunk/XJConf/XmlParser.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/XJConf/XJConfFacade.php
r121 r138 209 209 return $this->xmlParser->getConfigValues(); 210 210 } 211 212 /** 213 * clears parsed config values 214 */ 215 public function clearConfigValues() 216 { 217 if (null == $this->xmlParser) { 218 throw new XJConfException('Invalid state: needs to parse first.'); 219 } 220 221 $this->xmlParser->clearConfigValues(); 222 } 211 223 } 212 224 ?> trunk/XJConf/XmlParser.php
r121 r138 211 211 212 212 /** 213 * clears parsed config values 214 */ 215 public function clearConfigValues() 216 { 217 $this->config = array(); 218 } 219 220 /** 213 221 * returns the name of the file that is currently parsed 214 222 *
