category Zend
package Zend_Feed_Reader
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_Feed_Reader_Extension_FeedAbstract

 Methods

Constructor

__construct(\DomDocument $dom, string $type = null, \DOMXPath $xpath = null) : void
Inherited

Parameters

$dom

$type

string

Feed type

$xpath

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

Returns

string

Get update base

getUpdateBase() : \Zend_Date | null

Returns

\Zend_Datenull

Get update frequency

getUpdateFrequency() : integer

Returns

integer

Get update frequency as ticks

getUpdateFrequencyAsTicks() : integer

Returns

integer

Get update period

getUpdatePeriod() : string

Returns

string

Get the DOMXPath object

getXpath() : string
Inherited

Returns

string

Get the XPath prefix

getXpathPrefix() : string
Inherited

Returns

string

Set the XPath query

setXpath(\DOMXPath $xpath) : \Zend_Feed_Reader_Extension_EntryAbstract
Inherited

Parameters

$xpath

\DOMXPath

Returns

\Zend_Feed_Reader_Extension_EntryAbstract

Set the XPath prefix

setXpathPrefix($prefix) : \Zend_Feed_Reader_Feed_Atom
Inherited

Parameters

$prefix

Returns

\Zend_Feed_Reader_Feed_Atom

Return the feed as an array

toArray() : array
Inherited

Returns

array

Register Syndication namespaces

_registerNamespaces() : void
inherited_from \Zend_Feed_Reader_Extension_FeedAbstract::_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

''