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 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() : \Zend_Date | null

Returns

\Zend_Datenull

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

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

_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

''