Zend Framework  3.0
Public Member Functions | Protected Member Functions | List of all members
Feed Class Reference

Public Member Functions

 getAuthor ($index=0)
 Get a single author.
 
 getAuthors ()
 Get an array with feed authors.
 
 getCopyright ()
 Get the copyright entry.
 
 getDescription ()
 Get the feed description.
 
 getId ()
 Get the feed ID.
 
 getLanguage ()
 Get the feed language.
 
 getTitle ()
 Get the feed title.
 
 getDate ()
 
 getCategories ()
 Get categories (subjects under DC)
 
- Public Member Functions inherited from AbstractFeed
 __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)
 
- Public Member Functions inherited from FeedInterface
 getDateCreated ()
 Get the feed creation date.
 
 getDateModified ()
 Get the feed modification date.
 
 getGenerator ()
 Get the feed generator entry.
 
 getLink ()
 Get a link to the HTML source.
 
 getFeedLink ()
 Get a link to the XML feed.
 

Protected Member Functions

 registerNamespaces ()
 Register the default namespaces for the current feed format.
 
- Protected Member Functions inherited from AbstractFeed
 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 AbstractFeed
 $data = []
 
 $domDocument = null
 
 $entries = []
 
 $entriesKey = 0
 
 $xpath = null
 
 $extensions = []
 
 $originalSourceUri = null
 

Member Function Documentation

getAuthor (   $index = 0)

Get a single author.

Parameters
int$index
Returns
string|null

Implements FeedInterface.

getAuthors ( )

Get an array with feed authors.

Returns
array

Implements FeedInterface.

getCategories ( )

Get categories (subjects under DC)

Returns
Collection

Implements FeedInterface.

getCopyright ( )

Get the copyright entry.

Returns
string|null

Implements FeedInterface.

getDate ( )
Returns
DateTime|null
getDescription ( )

Get the feed description.

Returns
string|null

Implements FeedInterface.

getId ( )

Get the feed ID.

Returns
string|null

Implements FeedInterface.

getLanguage ( )

Get the feed language.

Returns
string|null

Implements FeedInterface.

getTitle ( )

Get the feed title.

Returns
string|null

Implements FeedInterface.

registerNamespaces ( )
protected

Register the default namespaces for the current feed format.

Returns
void