Changeset 138 for trunk

Show
Ignore:
Timestamp:
05/22/08 16:00:53 (5 months ago)
Author:
mikey
Message:

ported feature addition from PRE_NAMESPACES branch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/XJConf/XJConfFacade.php

    r121 r138  
    209209        return $this->xmlParser->getConfigValues(); 
    210210    } 
     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    } 
    211223} 
    212224?> 
  • trunk/XJConf/XmlParser.php

    r121 r138  
    211211 
    212212    /** 
     213     * clears parsed config values 
     214     */ 
     215    public function clearConfigValues() 
     216    { 
     217        $this->config = array(); 
     218    } 
     219 
     220    /** 
    213221     * returns the name of the file that is currently parsed 
    214222     *