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/Entry/AbstractEntry.php \Zend\Feed\Reader\Entry\AbstractEntry::setXpath()

Set the XPath query

Parameters

DOMXPath $xpath:

Return value

AbstractEntry

3 calls to AbstractEntry::setXpath()
AbstractEntry::getXpath in vendor/zendframework/zend-feed/src/Reader/Entry/AbstractEntry.php
Get the XPath query object
Atom::setXpath in vendor/zendframework/zend-feed/src/Reader/Entry/Atom.php
Set the XPath query (incl. on all Extensions)
Rss::setXpath in vendor/zendframework/zend-feed/src/Reader/Entry/Rss.php
Set the XPath query (incl. on all Extensions)
2 methods override AbstractEntry::setXpath()
Atom::setXpath in vendor/zendframework/zend-feed/src/Reader/Entry/Atom.php
Set the XPath query (incl. on all Extensions)
Rss::setXpath in vendor/zendframework/zend-feed/src/Reader/Entry/Rss.php
Set the XPath query (incl. on all Extensions)

File

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

Class

AbstractEntry

Namespace

Zend\Feed\Reader\Entry

Code

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