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

getType() : string
Inherited

If null, it will attempt to autodetect the type.

Returns

string

Get update base

getUpdateBase() : \DateTime | null

Returns

\DateTimenull

Get update frequency

getUpdateFrequency() : integer

Returns

integer

Get update frequency as ticks

getUpdateFrequencyAsTicks() : integer

Returns

integer

Get update period

getUpdatePeriod() : string

Exceptions

\Zend\Feed\Reader\Exception\InvalidArgumentException

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 Syndication namespaces

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

Register the default namespaces for the current feed format

registerNamespaces() 
Inherited

Get the entry data specified by name

getData(string $name, string $type = 'string') : mixed | null

Parameters

$name

string

$type

string

Returns

mixednull

 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

''