src/Sulu/Component/Rest/ListBuilder/Metadata/ListXmlLoader.php
protected function getFilterTypeParameters(\DOMXPath $xpath, \DOMNode $propertyNode)
    {
        $parameters = [];
        foreach ($xpath->query('x:filter-type-parameters/x:parameter', $propertyNode) as $parameterNode) {
            $key = XmlUtil::getValueFromXPath('@key', $xpath, $parameterNode);
            $parameters[$key] = $this->parameterBag->resolveValue(trim($parameterNode->nodeValue));
        }

        return $parameters;
    }
protected function getFilterTypeParameters(\DOMXPath $xpath, \DOMNode $propertyNode)
    {
        $parameters = [];
        foreach ($xpath->query('x:filter-type-parameters/x:parameter', $propertyNode) as $parameterNode) {
            $key = XmlUtil::getValueFromXPath('@key', $xpath, $parameterNode);
            $parameters[$key] = $this->parameterBag->resolveValue(trim($parameterNode->nodeValue));
        }

        return $parameters;
    }
protected function getFilterTypeParameters ( \ DOMXPath $ xpath , \ DOMNode $ propertyNode ) { $ parameters = [ ] ; foreach ( $ xpath -> query ( 'x:filter-type-parameters/x:parameter' , $ propertyNode ) as $ parameterNode ) { $ key = XmlUtil :: getValueFromXPath ( '@key' , $ xpath , $ parameterNode ) ; $ parameters [ $ key ] = $ this -> parameterBag -> resolveValue ( trim ( $ parameterNode -> nodeValue ) ) ; } return $ parameters ; }
Extracts filter type parameters from dom-node.

@param \DOMXPath $xpath
@param \DOMNode $propertyNode

@return array
Extracts filter type parameters from dom - node .