public function AbstractFeed::setXpath in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-feed/src/Reader/Extension/AbstractFeed.php \Zend\Feed\Reader\Extension\AbstractFeed::setXpath()
Set the XPath query
Parameters
DOMXPath $xpath:
Return value
1 call to AbstractFeed::setXpath()
- AbstractFeed::getXpath in vendor/
zendframework/ zend-feed/ src/ Reader/ Extension/ AbstractFeed.php - Get the DOMXPath object
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Extension/ AbstractFeed.php, line 124
Class
Namespace
Zend\Feed\Reader\ExtensionCode
public function setXpath(DOMXPath $xpath = null) {
if (null === $xpath) {
$this->xpath = null;
return $this;
}
$this->xpath = $xpath;
$this
->registerNamespaces();
return $this;
}