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_FeedAbstract

 Methods

__call()

__call($method, $args) 
Inherited

Parameters

$method

$args

Constructor

__construct(\DOMDocument $dom, string $type = null
inherited_from \Zend_Feed_Reader_FeedAbstract::__construct()

Parameters

$dom

\DOMDocument

$type

string

Constructor

__construct(\DomDocument $domDocument, string $type = null
Inherited

Parameters

$domDocument

$type

string

Feed type

Get the number of feed entries.

count() : integer
Inherited

Required by the Iterator interface.

Returns

integer

Return the current entry

current() : \Zend_Feed_Reader_EntryInterface
Inherited

Returns

\Zend_Feed_Reader_EntryInterface

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

Returns

stringnull

Get the feed modification date

getDateModified() : \Zend_Date

Returns

\Zend_Date

Get the feed description

getDescription() : string | null

Returns

stringnull

Get the DOM

getDomDocument() : \DOMDocument
Inherited

Returns

\DOMDocument

Get the DOMElement representing the items/feed element

getElement() : \DOMElement
Inherited

Returns

\DOMElement

Get the Feed's encoding

getEncoding() : string
Inherited

Returns

string

Return an Extension object with the matching name (postfixed with _Feed)

getExtension(string $name) : \Zend_Feed_Reader_Extension_FeedAbstract
Inherited

Parameters

$name

string

Returns

\Zend_Feed_Reader_Extension_FeedAbstract

getExtensions()

getExtensions() 
Inherited

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 ID

getId() : string | null

Returns

stringnull

Get the feed image data

getImage() : array | null

Returns

arraynull

Get the feed language

getLanguage() : string | null

Returns

stringnull

Get the feed lastBuild date

getLastBuildDate() : \Zend_Date

Returns

\Zend_Date

Get an original source URI for the feed being parsed. Returns null if unset or the feed was not imported from a URI.

getOriginalSourceUri() : string | null
Inherited

Returns

stringnull

Get the feed title

getTitle() : string | null

Returns

stringnull

Get the feed type

getType() : string
Inherited

Returns

string

Get the DOMXPath object for this feed

getXpath() : \DOMXPath
Inherited

Returns

\DOMXPath

Return the current feed key

key() : \unknown
Inherited

Returns

\unknown

Move the feed pointer forward

next() 
Inherited

Reset the pointer in the feed object

rewind() 
Inherited

Get feed as xml

saveXml() : string
Inherited

Returns

string

Set an original source URI for the feed being parsed. This value is returned from getFeedLink() method if the feed does not carry a self-referencing URI.

setOriginalSourceUri(string $uri) 
Inherited

Parameters

$uri

string

Check to see if the iterator is still valid

valid() : boolean
Inherited

Returns

boolean

Read all entries to the internal entries array

_indexEntries() 
inherited_from \Zend_Feed_Reader_FeedAbstract::_indexEntries()

Read all entries to the internal entries array

_indexEntries() 
Inherited

_loadExtensions()

_loadExtensions() 
Inherited

Register the default namespaces for the current feed format

_registerNamespaces() 
inherited_from \Zend_Feed_Reader_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
 

An array of parsed feed entries

$_entries : array

Default

array()
 

A pointer for the iterator to keep track of the entries array

$_entriesKey : integer

Default

0
 

Array of loaded extensions

$_extensions : array

Default

array()
 

Original Source URI (set if imported from a URI)

$_originalSourceUri : string

Default

null
 

The base XPath query used to retrieve feed data

$_xpath : \DOMXPath

Default

null