src/Service/cacheService.php
protected function readMetadata(&$xmlArr)
    {
        $this->cache = isset($xmlArr["PLUGINSERVICE"]["CACHESETTING"]["ATTRIBUTES"]["MODE"]) ? $xmlArr["PLUGINSERVICE"]["CACHESETTING"]["ATTRIBUTES"]["MODE"] : "Enabled";
        $this->cacheEngine = isset($xmlArr["PLUGINSERVICE"]["CACHEENGINE"]["ATTRIBUTES"]["TYPE"]) ? $xmlArr["PLUGINSERVICE"]["CACHEENGINE"]["ATTRIBUTES"]["TYPE"] : "FileCache";
        // process Cache settings
        if (strtoupper($this->cache) == "ENABLED") {
            $this->loadConfig($xmlArr["PLUGINSERVICE"]["CACHESETTING"]["CONFIG"], $this->cacheOptions);
        }
        switch (strtoupper($this->cacheEngine)) {
            case "FILE":
                $this->loadConfig($xmlArr["PLUGINSERVICE"]["CACHEENGINE"]["FILE"]["CONFIG"], $this->cacheEngineOptions);
                //no break there , because all other engine is inherit from FileCache
                break;

            case "SQLITE":
                $this->loadConfig($xmlArr["PLUGINSERVICE"]["CACHEENGINE"]["SQLITE"]["CONFIG"], $this->cacheEngineOptions);
                break;

            case "MEMCACHED":
                $this->loadConfig($xmlArr["PLUGINSERVICE"]["CACHEENGINE"]["MEMCACHED"]["CONFIG"], $this->cacheEngineOptions);
                break;

            case "XCACHE":
                $this->loadConfig($xmlArr["PLUGINSERVICE"]["CACHEENGINE"]["XCACHE"]["CONFIG"], $this->cacheEngineOptions);
                break;

            case "APC":
                $this->loadConfig($xmlArr["PLUGINSERVICE"]["CACHEENGINE"]["APC"]["CONFIG"], $this->cacheEngineOptions);
                break;

            case "ZENDPLATFORM":
                $this->loadConfig($xmlArr["PLUGINSERVICE"]["CACHEENGINE"]["ZENDPLATFORM"]["CONFIG"], $this->cacheEngineOptions);
                break;
        }
    }
protected function readMetadata(&$xmlArr)
    {
        $this->cache = isset($xmlArr["PLUGINSERVICE"]["CACHESETTING"]["ATTRIBUTES"]["MODE"]) ? $xmlArr["PLUGINSERVICE"]["CACHESETTING"]["ATTRIBUTES"]["MODE"] : "Enabled";
        $this->cacheEngine = isset($xmlArr["PLUGINSERVICE"]["CACHEENGINE"]["ATTRIBUTES"]["TYPE"]) ? $xmlArr["PLUGINSERVICE"]["CACHEENGINE"]["ATTRIBUTES"]["TYPE"] : "FileCache";
        // process Cache settings
        if (strtoupper($this->cache) == "ENABLED") {
            $this->loadConfig($xmlArr["PLUGINSERVICE"]["CACHESETTING"]["CONFIG"], $this->cacheOptions);
        }
        switch (strtoupper($this->cacheEngine)) {
            case "FILE":
                $this->loadConfig($xmlArr["PLUGINSERVICE"]["CACHEENGINE"]["FILE"]["CONFIG"], $this->cacheEngineOptions);
                //no break there , because all other engine is inherit from FileCache
                break;

            case "SQLITE":
                $this->loadConfig($xmlArr["PLUGINSERVICE"]["CACHEENGINE"]["SQLITE"]["CONFIG"], $this->cacheEngineOptions);
                break;

            case "MEMCACHED":
                $this->loadConfig($xmlArr["PLUGINSERVICE"]["CACHEENGINE"]["MEMCACHED"]["CONFIG"], $this->cacheEngineOptions);
                break;

            case "XCACHE":
                $this->loadConfig($xmlArr["PLUGINSERVICE"]["CACHEENGINE"]["XCACHE"]["CONFIG"], $this->cacheEngineOptions);
                break;

            case "APC":
                $this->loadConfig($xmlArr["PLUGINSERVICE"]["CACHEENGINE"]["APC"]["CONFIG"], $this->cacheEngineOptions);
                break;

            case "ZENDPLATFORM":
                $this->loadConfig($xmlArr["PLUGINSERVICE"]["CACHEENGINE"]["ZENDPLATFORM"]["CONFIG"], $this->cacheEngineOptions);
                break;
        }
    }
Read array meta data, and store to meta object

@param array $xmlArr
@return void