public function AbstractEntry::__construct in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-feed/src/Reader/AbstractEntry.php \Zend\Feed\Reader\AbstractEntry::__construct()
- 8 vendor/zendframework/zend-feed/src/Reader/Entry/AbstractEntry.php \Zend\Feed\Reader\Entry\AbstractEntry::__construct()
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Reader/AbstractEntry.php \Zend\Feed\Reader\AbstractEntry::__construct()
Constructor
Parameters
DOMElement $entry:
int $entryKey:
null|string $type:
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ AbstractEntry.php, line 67
Class
Namespace
Zend\Feed\ReaderCode
public function __construct(DOMElement $entry, $entryKey, $type = null) {
$this->entry = $entry;
$this->entryKey = $entryKey;
$this->domDocument = $entry->ownerDocument;
if ($type !== null) {
$this->data['type'] = $type;
}
else {
$this->data['type'] = Reader::detectType($entry);
}
$this
->_loadExtensions();
}