Methods

Method overloading: call given method on first extension implementing it

__call(string $method, array $args) : mixed

Parameters

$method

string

$args

array

Exceptions

\Zend\Feed\Reader\Exception\BadMethodCallException if no extensions implements the method

Returns

mixed

Constructor

__construct(\DOMElement $entry, int $entryKey, null | string $type) 

Parameters

$entry

\DOMElement

$entryKey

int

$type

nullstring

Get the DOM

getDomDocument() : \DOMDocument

Returns

Get the entry element

getElement() : \DOMElement

Returns

Get the Entry's encoding

getEncoding() : string

Returns

string

Return an Extension object with the matching name (postfixed with _Entry)

getExtension(string $name) : \Zend\Feed\Reader\Extension\AbstractEntry

Parameters

$name

string

Returns

Get registered extensions

getExtensions() : array

Returns

array

Get the entry type

getType() : string

Returns

string

Get the XPath query object

getXpath() : \DOMXPath

Returns

Get entry as xml

saveXml() : string

Returns

string

Set the XPath query

setXpath(\DOMXPath $xpath) : \Zend\Feed\Reader\AbstractEntry

Parameters

$xpath

\DOMXPath

Returns

Load extensions from Zend\Feed\Reader\Reader

_loadExtensions() : void

 Properties

 

Feed entry data

$data : array

 

DOM document object

$domDocument : \DOMDocument

 

Entry instance

$entry : \DOMElement

 

Pointer to the current entry

$entryKey : int

 

Registered extensions

$extensions : array

 

XPath object

$xpath : \DOMXPath