You are here

public function AbstractEntry::setEntryElement in Zircon Profile 8.0

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

Set the entry DOMElement

Has side effect of setting the DOMDocument for the entry.

Parameters

DOMElement $entry:

Return value

AbstractEntry

File

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

Class

AbstractEntry

Namespace

Zend\Feed\Reader\Extension

Code

public function setEntryElement(DOMElement $entry) {
  $this->entry = $entry;
  $this->domDocument = $entry->ownerDocument;
  return $this;
}