Methods

Get the DOM

getDomDocument() : \DOMDocument

Returns

Get the Entry's encoding

getEncoding() : string

Returns

string

Get the entry DOMElement

getEntryElement() : \DOMElement

Returns

Get the entry type

getType() : string

Returns

string

Get the XPath query object

getXpath() : \DOMXPath

Returns

Get the XPath prefix

getXpathPrefix() : string

Returns

string

Set the entry DOMElement

setEntryElement(\DOMElement $entry) : \Zend\Feed\Reader\Extension\AbstractEntry

Has side effect of setting the DOMDocument for the entry.

Parameters

$entry

\DOMElement

Returns

Set the entry key

setEntryKey(string $entryKey) : \Zend\Feed\Reader\Extension\AbstractEntry

Parameters

$entryKey

string

Returns

Set the entry type

setType(string $type) : \Zend\Feed\Reader\Extension\AbstractEntry

Has side effect of setting xpath prefix

Parameters

$type

string

Returns

Set the XPath query

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

Set the XPath prefix

setXpathPrefix(string $prefix) : \Zend\Feed\Reader\Extension\AbstractEntry

Parameters

$prefix

string

Returns

Serialize the entry to an array

toArray() : array

Returns

array

Register XML namespaces

registerNamespaces() : void

 Properties

 

Feed entry data

$data : array

 

DOM document object

$domDocument : \DOMDocument

 

Entry instance

$entry : \DOMElement

 

Pointer to the current entry

$entryKey : int

 

XPath object

$xpath : \DOMXPath

 

XPath query

$xpathPrefix : string