WURFL/Configuration/XmlConfig.php
protected function initialize()
    {
        $xmlConfig = simplexml_load_file($this->configFilePath);
        $this->wurflFile = $this->wurflFile($xmlConfig->xpath('/wurfl-config/wurfl/main-file'));
        $this->wurflPatches = $this->wurflPatches($xmlConfig->xpath('/wurfl-config/wurfl/patches/patch'));
        $this->allowReload = $this->allowReload($xmlConfig->xpath('/wurfl-config/allow-reload'));
        $this->capabilityFilter = $this->capabilityFilter($xmlConfig->xpath('/wurfl-config/capability-filter/capability'));
        $this->persistence = $this->persistence($xmlConfig->xpath('/wurfl-config/persistence'));
        $this->cache = $this->persistence($xmlConfig->xpath('/wurfl-config/cache'));
        $this->logDir = $this->logDir($xmlConfig->xpath('/wurfl-config/logDir'));
        $this->matchMode = $this->matchMode($xmlConfig->xpath('/wurfl-config/match-mode'));
    }
protected function initialize()
    {
        $xmlConfig = simplexml_load_file($this->configFilePath);
        $this->wurflFile = $this->wurflFile($xmlConfig->xpath('/wurfl-config/wurfl/main-file'));
        $this->wurflPatches = $this->wurflPatches($xmlConfig->xpath('/wurfl-config/wurfl/patches/patch'));
        $this->allowReload = $this->allowReload($xmlConfig->xpath('/wurfl-config/allow-reload'));
        $this->capabilityFilter = $this->capabilityFilter($xmlConfig->xpath('/wurfl-config/capability-filter/capability'));
        $this->persistence = $this->persistence($xmlConfig->xpath('/wurfl-config/persistence'));
        $this->cache = $this->persistence($xmlConfig->xpath('/wurfl-config/cache'));
        $this->logDir = $this->logDir($xmlConfig->xpath('/wurfl-config/logDir'));
        $this->matchMode = $this->matchMode($xmlConfig->xpath('/wurfl-config/match-mode'));
    }
protected function initialize ( ) { $ xmlConfig = simplexml_load_file ( $ this -> configFilePath ) ; $ this -> wurflFile = $ this -> wurflFile ( $ xmlConfig -> xpath ( '/wurfl-config/wurfl/main-file' ) ) ; $ this -> wurflPatches = $ this -> wurflPatches ( $ xmlConfig -> xpath ( '/wurfl-config/wurfl/patches/patch' ) ) ; $ this -> allowReload = $ this -> allowReload ( $ xmlConfig -> xpath ( '/wurfl-config/allow-reload' ) ) ; $ this -> capabilityFilter = $ this -> capabilityFilter ( $ xmlConfig -> xpath ( '/wurfl-config/capability-filter/capability' ) ) ; $ this -> persistence = $ this -> persistence ( $ xmlConfig -> xpath ( '/wurfl-config/persistence' ) ) ; $ this -> cache = $ this -> persistence ( $ xmlConfig -> xpath ( '/wurfl-config/cache' ) ) ; $ this -> logDir = $ this -> logDir ( $ xmlConfig -> xpath ( '/wurfl-config/logDir' ) ) ; $ this -> matchMode = $ this -> matchMode ( $ xmlConfig -> xpath ( '/wurfl-config/match-mode' ) ) ; }
Initialize XML Configuration
Initialize XML Configuration