You are here

public function Atom::setXpath in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-feed/src/Reader/Entry/Atom.php \Zend\Feed\Reader\Entry\Atom::setXpath()

Set the XPath query (incl. on all Extensions)

Parameters

DOMXPath $xpath:

Return value

void

Overrides AbstractEntry::setXpath

File

vendor/zendframework/zend-feed/src/Reader/Entry/Atom.php, line 363

Class

Atom

Namespace

Zend\Feed\Reader\Entry

Code

public function setXpath(DOMXPath $xpath) {
  parent::setXpath($xpath);
  foreach ($this->extensions as $extension) {
    $extension
      ->setXpath($this->xpath);
  }
}