You are here

public function Rss::setXpath in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-feed/src/Reader/Entry/Rss.php \Zend\Feed\Reader\Entry\Rss::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/Rss.php, line 588

Class

Rss

Namespace

Zend\Feed\Reader\Entry

Code

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