package Default
inherited_from \Zend\Feed\Reader\Extension\AbstractFeed

 Methods

Get the DOM

getDomDocument() : \DOMDocument
Inherited

Returns

\DOMDocument

Get the Feed's encoding

getEncoding() : string
Inherited

Returns

string

Get the entry license

getLicense(integer $index = 0) : string | null

Parameters

$index

integer

Returns

stringnull

Get the entry licenses

getLicenses() : array

Returns

array

Get the feed type

getType() : string
Inherited

If null, it will attempt to autodetect the type.

Returns

string

Get the DOMXPath object

getXpath() : string
Inherited

Returns

string

Get the XPath prefix

getXpathPrefix() : string
Inherited

Returns

string

Set the DOM document

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

Parameters

$dom

\DOMDocument

Returns

\Zend\Feed\Reader\Extension\AbstractFeed

Set the feed type

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

Parameters

$type

string

Returns

\Zend\Feed\Reader\Extension\AbstractFeed

Set the XPath query

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

Parameters

$xpath

\DOMXPath

Returns

\Zend\Feed\Reader\Extension\AbstractEntry

Set the XPath prefix

setXpathPrefix(string $prefix) : void
Inherited

Parameters

$prefix

string

Return the feed as an array

toArray() : array
Inherited

Returns

array

Register Creative Commons namespaces

registerNamespaces() : void
inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::registerNamespaces()

Register the default namespaces for the current feed format

registerNamespaces() 
Inherited

 Properties

 

Parsed feed data

$data : array

Default

array()
 

Parsed feed data in the shape of a DOMDocument

$domDocument : \DOMDocument

Default

null
 

The base XPath query used to retrieve feed data

$xpath : \DOMXPath

Default

null
 

The XPath prefix

$xpathPrefix : string

Default

''