src/Sulu/Bundle/MediaBundle/Media/FormatLoader/BaseXmlFormatLoader.php
private function getOptionsFromFormatNode(\DOMNode $formatNode)
    {
        $optionsNode = $this->xpath->query('x:options', $formatNode)->item(0);

        return $this->getParametersFromNode($optionsNode, 'option');
    }
private function getOptionsFromFormatNode(\DOMNode $formatNode)
    {
        $optionsNode = $this->xpath->query('x:options', $formatNode)->item(0);

        return $this->getParametersFromNode($optionsNode, 'option');
    }
private function getOptionsFromFormatNode ( \ DOMNode $ formatNode ) { $ optionsNode = $ this -> xpath -> query ( 'x:options' , $ formatNode ) -> item ( 0 ) ; return $ this -> getParametersFromNode ( $ optionsNode , 'option' ) ; }
For a given format node returns the options for it.

@param \DOMNode $formatNode

@return array
For a given format node returns the options for it .