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

 Methods

Get a single author

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

Parameters

$index

integer

Returns

stringnull

Get an array with feed authors

getAuthors() : array

Returns

array

Get categories (subjects under DC)

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

Returns

\Zend\Feed\Reader\Collection\Category

Get the copyright entry

getCopyright() : string | null

Returns

stringnull

getDate()

getDate() : \DateTime | null

Returns

\DateTimenull

Get the feed description

getDescription() : string | null

Returns

stringnull

Get the DOM

getDomDocument() : \DOMDocument
Inherited

Returns

\DOMDocument

Get the Feed's encoding

getEncoding() : string
Inherited

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.

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

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

''