Methods

Get a single author

getAuthor(int $index) : string | null

Parameters

$index

int

Returns

stringnull

Get an array with feed authors

getAuthors() : array

Returns

array

Get categories (subjects under DC)

getCategories() : \Zend\Feed\Reader\Collection\Category

Get the copyright entry

getCopyright() : string | null

Returns

stringnull

getDate()

getDate() : \Zend\Stdlib\DateTime | null

Returns

Get the feed description

getDescription() : string | null

Returns

stringnull

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 feed ID

getId() : string | null

Returns

stringnull

Get the feed language

getLanguage() : string | null

Returns

stringnull

Get the feed title

getTitle() : string | null

Returns

stringnull

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 the default namespaces for the current feed format

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