package Default

 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, integer $entryKey, null|string $type = null

Parameters

$entry

\DOMElement

$entryKey

integer

$type

nullstring

Get the DOM

getDomDocument() : \DOMDocument

Returns

\DOMDocument

Get the entry element

getElement() : \DOMElement

Returns

\DOMElement

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

\Zend\Feed\Reader\Extension\AbstractEntry

Get registered extensions

getExtensions() : array

Returns

array

Get the entry type

getType() : string

Returns

string

Get the XPath query object

getXpath() : \DOMXPath

Returns

\DOMXPath

Get entry as xml

saveXml() : string

Returns

string

Set the XPath query

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

Parameters

$xpath

\DOMXPath

Returns

\Zend\Feed\Reader\AbstractEntry

Load extensions from Zend\Feed\Reader\Reader

_loadExtensions() : void

 Properties

 

Feed entry data

$data : array

Default

array()
 

DOM document object

$domDocument : \DOMDocument

Default

null
 

Entry instance

$entry : \DOMElement

Default

null
 

Pointer to the current entry

$entryKey : integer

Default

0
 

Registered extensions

$extensions : array

Default

array()
 

XPath object

$xpath : \DOMXPath

Default

null