Methods

Get the DOM

getDomDocument() : \DOMDocument

Returns

Get the Feed's encoding

getEncoding() : string

Returns

string

Get the feed type

getType() : string

If null, it will attempt to autodetect the type.

Returns

string

Get the DOMXPath object

getXpath() : string

Returns

string

Get the XPath prefix

getXpathPrefix() : string

Returns

string

Set the DOM document

setDomDocument(\DOMDocument $dom) : \Zend\Feed\Reader\Extension\AbstractFeed

Set the feed type

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

Parameters

$type

string

Returns

Set the XPath query

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

Set the XPath prefix

setXpathPrefix(string $prefix) : void

Parameters

$prefix

string

Return the feed as an array

toArray() : array

Returns

array

Register the default namespaces for the current feed format

registerNamespaces() 

 Properties

 

Parsed feed data

$data : array

 

Parsed feed data in the shape of a DOMDocument

$domDocument : \DOMDocument

 

The base XPath query used to retrieve feed data

$xpath : \DOMXPath

 

The XPath prefix

$xpathPrefix : string