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 entry license

getLicense($index = 0) : string | null

Parameters

$index

Returns

stringnull

Get the entry licenses

getLicenses() : array

Returns

array

Get the feed type

getType() : string
Inherited

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 Creative Commons namespaces

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

''