You are here

public function AbstractEntry::setXpath in Zircon Profile 8.0

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

Set the XPath query

Parameters

DOMXPath $xpath:

Return value

\Zend\Feed\Reader\AbstractEntry

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

File

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

Class

AbstractEntry

Namespace

Zend\Feed\Reader

Code

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