You are here

public function AbstractEntry::setXpath in Zircon Profile 8

Same name in this branch
  1. 8 vendor/zendframework/zend-feed/src/Reader/AbstractEntry.php \Zend\Feed\Reader\AbstractEntry::setXpath()
  2. 8 vendor/zendframework/zend-feed/src/Reader/Extension/AbstractEntry.php \Zend\Feed\Reader\Extension\AbstractEntry::setXpath()
  3. 8 vendor/zendframework/zend-feed/src/Reader/Entry/AbstractEntry.php \Zend\Feed\Reader\Entry\AbstractEntry::setXpath()
Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/AbstractEntry.php \Zend\Feed\Reader\Extension\AbstractEntry::setXpath()

Set the XPath query

Parameters

DOMXPath $xpath:

Return value

AbstractEntry

1 call to AbstractEntry::setXpath()
AbstractEntry::getXpath in vendor/zendframework/zend-feed/src/Reader/Extension/AbstractEntry.php
Get the XPath query object

File

vendor/zendframework/zend-feed/src/Reader/Extension/AbstractEntry.php, line 175

Class

AbstractEntry

Namespace

Zend\Feed\Reader\Extension

Code

public function setXpath(DOMXPath $xpath) {
  $this->xpath = $xpath;
  $this
    ->registerNamespaces();
  return $this;
}