protected function loadThemeConfig()
    {
        $xml = $this->getXml();

        foreach ($xml->xpath('./resources/themes/theme[@name != "" and @path != ""]') as $node) {
            $path = (string)$node['path'];
            $name = (string)$node['name'];

            $this->manifest['application_config']['rampage']['themes'][$name]['path'] = $this->getModulePath($path);

            if (isset($node['fallbacks'])) {
                $fallbacks = explode(',', (string)$node['fallbacks']);
                $fallbacks = array_filter(array_map('trim', $fallbacks));

                $this->manifest['application_config']['rampage']['themes'][$name]['fallbacks'] = $fallbacks;
            }
        }

        return $this;
    }
protected function loadThemeConfig()
    {
        $xml = $this->getXml();

        foreach ($xml->xpath('./resources/themes/theme[@name != "" and @path != ""]') as $node) {
            $path = (string)$node['path'];
            $name = (string)$node['name'];

            $this->manifest['application_config']['rampage']['themes'][$name]['path'] = $this->getModulePath($path);

            if (isset($node['fallbacks'])) {
                $fallbacks = explode(',', (string)$node['fallbacks']);
                $fallbacks = array_filter(array_map('trim', $fallbacks));

                $this->manifest['application_config']['rampage']['themes'][$name]['fallbacks'] = $fallbacks;
            }
        }

        return $this;
    }
protected function loadThemeConfig ( ) { $ xml = $ this -> getXml ( ) ; foreach ( $ xml -> xpath ( './resources/themes/theme[@name != "" and @path != ""]' ) as $ node ) { $ path = ( string ) $ node [ 'path' ] ; $ name = ( string ) $ node [ 'name' ] ; $ this -> manifest [ 'application_config' ] [ 'rampage' ] [ 'themes' ] [ $ name ] [ 'path' ] = $ this -> getModulePath ( $ path ) ; if ( isset ( $ node [ 'fallbacks' ] ) ) { $ fallbacks = explode ( ',' , ( string ) $ node [ 'fallbacks' ] ) ; $ fallbacks = array_filter ( array_map ( 'trim' , $ fallbacks ) ) ; $ this -> manifest [ 'application_config' ] [ 'rampage' ] [ 'themes' ] [ $ name ] [ 'fallbacks' ] = $ fallbacks ; } } return $ this ; }
Load theme config

@return \rampage\core\modules\ManifestConfig
Load theme config