category Zend
package Reader\Reader

 Methods

Get the DOM

getDomDocument() : \DOMDocument
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::getDomDocument()

Returns

Get the Feed's encoding

getEncoding() : string
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::getEncoding()

Returns

string

Get the entry license

getLicense(int $index) : string | null

Parameters

$index

int

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.

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::getType()

Returns

string

Get the DOMXPath object

getXpath() : string
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::getXpath()

Returns

string

Get the XPath prefix

getXpathPrefix() : string
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::getXpathPrefix()

Returns

string

Set the DOM document

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

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::setDomDocument()

Parameters

Returns

Set the feed type

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

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::setType()

Parameters

$type

string

Returns

Set the XPath query

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

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::setXpath()

Parameters

$xpath

\DOMXPath

Returns

Set the XPath prefix

setXpathPrefix(string $prefix) : void
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::setXpathPrefix()

Parameters

$prefix

string

Return the feed as an array

toArray() : array
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::toArray()

Returns

array

Register Creative Commons namespaces

registerNamespaces() : void

 Properties

 

Parsed feed data

$data : array
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::$$data
 

Parsed feed data in the shape of a DOMDocument

$domDocument : \DOMDocument
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::$$domDocument
 

The base XPath query used to retrieve feed data

$xpath : \DOMXPath
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::$$xpath
 

The XPath prefix

$xpathPrefix : string
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::$$xpathPrefix