src/lib/eZ/RichText/Converter/Render/Template.php
protected function extractTemplateConfiguration(DOMElement $template, DOMXPath $xpath)
    {
        $configElements = $xpath->query('./docbook:ezconfig', $template);
        if (0 === $configElements->length) {
            return [];
        }

        return $this->extractHash($configElements->item(0));
    }
protected function extractTemplateConfiguration(DOMElement $template, DOMXPath $xpath)
    {
        $configElements = $xpath->query('./docbook:ezconfig', $template);
        if (0 === $configElements->length) {
            return [];
        }

        return $this->extractHash($configElements->item(0));
    }
protected function extractTemplateConfiguration ( DOMElement $ template , DOMXPath $ xpath ) { $ configElements = $ xpath -> query ( './docbook:ezconfig' , $ template ) ; if ( 0 === $ configElements -> length ) { return [ ] ; } return $ this -> extractHash ( $ configElements -> item ( 0 ) ) ; }
Extract configuration hash from a template.

@param \DOMElement $template
@param \DOMXPath $xpath

@return array
Extract configuration hash from a template .