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 the base URI of the feed (if set).

getBaseUrl() : string | null

Returns

stringnull

Get all categories

getCategories() : \Zend_Feed_Reader_Collection_Category

Returns

\Zend_Feed_Reader_Collection_Category

Get the copyright entry

getCopyright() : string | null

Returns

stringnull

Get the feed creation date

getDateCreated() : \Zend_Date | null

Returns

\Zend_Datenull

Get the feed modification date

getDateModified() : \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 generator entry

getGenerator() : string | null

Returns

stringnull

Get an array of any supported Pusubhubbub endpoints

getHubs() : array | null

Returns

arraynull

Get the feed image

getIcon() : array | null

Returns

arraynull

Get the feed ID

getId() : string | null

Returns

stringnull

Get the feed image

getImage() : array | null

Returns

arraynull

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

Attempt to absolutise the URI, i.e. if a relative URI apply the xml:base value as a prefix to turn into an absolute URI.

_absolutiseUri($link) 

Parameters

$link

Detect the presence of any Atom namespaces in use

_getAtomType() 

Get an author entry in RSS format

_getAuthor(\DOMElement $element) : string

Parameters

$element

\DOMElement

Returns

string

Register the default namespaces for the current feed format

_registerNamespaces() 
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

''