Zend Framework  1.12
Public Member Functions | Protected Member Functions | List of all members
Zend_Feed_Reader_Feed_Rss Class Reference

Public Member Functions

 __construct (DomDocument $dom, $type=null)
 Constructor.
 
 getAuthor ($index=0)
 Get a single author.
 
 getAuthors ()
 Get an array with feed authors.
 
 getCopyright ()
 Get the copyright entry.
 
 getDateCreated ()
 Get the feed creation date.
 
 getDateModified ()
 Get the feed modification date.
 
 getLastBuildDate ()
 Get the feed lastBuild date.
 
 getDescription ()
 Get the feed description.
 
 getId ()
 Get the feed ID.
 
 getImage ()
 Get the feed image data.
 
 getLanguage ()
 Get the feed language.
 
 getLink ()
 Get a link to the feed.
 
 getFeedLink ()
 Get a link to the feed XML.
 
 getGenerator ()
 Get the feed generator entry.
 
 getTitle ()
 Get the feed title.
 
 getHubs ()
 Get an array of any supported Pusubhubbub endpoints.
 
 getCategories ()
 Get all categories.
 
- Public Member Functions inherited from Zend_Feed_Reader_FeedAbstract
 __construct (DomDocument $domDocument, $type=null)
 Constructor.
 
 setOriginalSourceUri ($uri)
 Set an original source URI for the feed being parsed.
 
 getOriginalSourceUri ()
 Get an original source URI for the feed being parsed.
 
 count ()
 Get the number of feed entries.
 
 current ()
 Return the current entry.
 
 getDomDocument ()
 Get the DOM.
 
 getEncoding ()
 Get the Feed's encoding.
 
 saveXml ()
 Get feed as xml.
 
 getElement ()
 Get the DOMElement representing the items/feed element.
 
 getXpath ()
 Get the DOMXPath object for this feed.
 
 getType ()
 Get the feed type.
 
 key ()
 Return the current feed key.
 
 next ()
 Move the feed pointer forward.
 
 rewind ()
 Reset the pointer in the feed object.
 
 valid ()
 Check to see if the iterator is still valid.
 
 getExtensions ()
 
 __call ($method, $args)
 
 getExtension ($name)
 Return an Extension object with the matching name (postfixed with _Feed)
 

Protected Member Functions

 _indexEntries ()
 Read all entries to the internal entries array.
 
 _registerNamespaces ()
 Register the default namespaces for the current feed format.
 
- Protected Member Functions inherited from Zend_Feed_Reader_FeedAbstract
 _loadExtensions ()
 
 _indexEntries ()
 Read all entries to the internal entries array.
 
 _registerNamespaces ()
 Register the default namespaces for the current feed format.
 

Additional Inherited Members

- Protected Attributes inherited from Zend_Feed_Reader_FeedAbstract
 $_data = array()
 
 $_domDocument = null
 
 $_entries = array()
 
 $_entriesKey = 0
 
 $_xpath = null
 
 $_extensions = array()
 
 $_originalSourceUri = null
 

Constructor & Destructor Documentation

__construct ( DomDocument  $dom,
  $type = null 
)

Constructor.

Parameters
DOMDocument$dom
string$type

Member Function Documentation

_indexEntries ( )
protected

Read all entries to the internal entries array.

_registerNamespaces ( )
protected

Register the default namespaces for the current feed format.

getAuthor (   $index = 0)

Get a single author.

Parameters
int$index
Returns
string|null

Implements Zend_Feed_Reader_FeedInterface.

getAuthors ( )

Get an array with feed authors.

Returns
array

Technically RSS doesn't specific author element use at the feed level but it's supported on a "just in case" basis.

Implements Zend_Feed_Reader_FeedInterface.

getCategories ( )
getCopyright ( )

Get the copyright entry.

Returns
string|null

Implements Zend_Feed_Reader_FeedInterface.

getDateCreated ( )

Get the feed creation date.

Returns
string|null

Implements Zend_Feed_Reader_FeedInterface.

getDateModified ( )

Get the feed modification date.

Returns
Zend_Date

Implements Zend_Feed_Reader_FeedInterface.

getDescription ( )

Get the feed description.

Returns
string|null

Implements Zend_Feed_Reader_FeedInterface.

getFeedLink ( )

Get a link to the feed XML.

Returns
string|null

Implements Zend_Feed_Reader_FeedInterface.

getGenerator ( )

Get the feed generator entry.

Returns
string|null

Implements Zend_Feed_Reader_FeedInterface.

getHubs ( )

Get an array of any supported Pusubhubbub endpoints.

Returns
array|null
getId ( )

Get the feed ID.

Returns
string|null

Implements Zend_Feed_Reader_FeedInterface.

getImage ( )

Get the feed image data.

Returns
array|null
getLanguage ( )

Get the feed language.

Returns
string|null

Implements Zend_Feed_Reader_FeedInterface.

getLastBuildDate ( )

Get the feed lastBuild date.

Returns
Zend_Date
getLink ( )

Get a link to the feed.

Returns
string|null

Implements Zend_Feed_Reader_FeedInterface.

getTitle ( )

Get the feed title.

Returns
string|null

Implements Zend_Feed_Reader_FeedInterface.