Zend Framework  1.12
Public Member Functions | Protected Member Functions | List of all members
Zend_Feed_Reader_Extension_Atom_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.
 
 getDateCreated ()
 Get the feed creation date.
 
 getDateModified ()
 Get the feed modification date.
 
 getDescription ()
 Get the feed description.
 
 getGenerator ()
 Get the feed generator entry.
 
 getId ()
 Get the feed ID.
 
 getLanguage ()
 Get the feed language.
 
 getImage ()
 Get the feed image.
 
 getIcon ()
 Get the feed image.
 
 getBaseUrl ()
 Get the base URI of the feed (if set).
 
 getLink ()
 Get a link to the source website.
 
 getFeedLink ()
 Get a link to the feed's XML Url.
 
 getHubs ()
 Get an array of any supported Pusubhubbub endpoints.
 
 getTitle ()
 Get the feed title.
 
 getCategories ()
 Get all categories.
 
- Public Member Functions inherited from Zend_Feed_Reader_Extension_FeedAbstract
 __construct (DomDocument $dom, $type=null, DOMXPath $xpath=null)
 Constructor.
 
 getDomDocument ()
 Get the DOM.
 
 getEncoding ()
 Get the Feed's encoding.
 
 getType ()
 Get the feed type.
 
 toArray ()
 Return the feed as an array.
 
 setXpath (DOMXPath $xpath)
 Set the XPath query.
 
 getXpath ()
 Get the DOMXPath object.
 
 getXpathPrefix ()
 Get the XPath prefix.
 
 setXpathPrefix ($prefix)
 Set the XPath prefix.
 

Protected Member Functions

 _getAuthor (DOMElement $element)
 Get an author entry in RSS format.
 
 _absolutiseUri ($link)
 Attempt to absolutise the URI, i.e.
 
 _registerNamespaces ()
 Register the default namespaces for the current feed format.
 
 _getAtomType ()
 Detect the presence of any Atom namespaces in use.
 
- Protected Member Functions inherited from Zend_Feed_Reader_Extension_FeedAbstract
 _registerNamespaces ()
 Register the default namespaces for the current feed format.
 

Additional Inherited Members

- Protected Attributes inherited from Zend_Feed_Reader_Extension_FeedAbstract
 $_data = array()
 
 $_domDocument = null
 
 $_xpath = null
 
 $_xpathPrefix = ''
 

Member Function Documentation

_absolutiseUri (   $link)
protected

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.

_getAtomType ( )
protected

Detect the presence of any Atom namespaces in use.

_getAuthor ( DOMElement  $element)
protected

Get an author entry in RSS format.

Parameters
DOMElement$element
Returns
string
_registerNamespaces ( )
protected

Register the default namespaces for the current feed format.

getAuthor (   $index = 0)

Get a single author.

Parameters
int$index
Returns
string|null
getAuthors ( )

Get an array with feed authors.

Returns
array
getBaseUrl ( )

Get the base URI of the feed (if set).

Returns
string|null
getCategories ( )

Get all categories.

Returns
Zend_Feed_Reader_Collection_Category

Since Atom 0.3 did not support categories, it would have used the Dublin Core extension. However there is a small possibility Atom 0.3 may have been retrofittied to use Atom 1.0 instead.

getCopyright ( )

Get the copyright entry.

Returns
string|null
getDateCreated ( )

Get the feed creation date.

Returns
Zend_Date|null
getDateModified ( )

Get the feed modification date.

Returns
Zend_Date|null
getDescription ( )

Get the feed description.

Returns
string|null
getFeedLink ( )

Get a link to the feed's XML Url.

Returns
string|null
getGenerator ( )

Get the feed generator entry.

Returns
string|null
getHubs ( )

Get an array of any supported Pusubhubbub endpoints.

Returns
array|null
getIcon ( )

Get the feed image.

Returns
array|null
getId ( )

Get the feed ID.

Returns
string|null
getImage ( )

Get the feed image.

Returns
array|null
getLanguage ( )

Get the feed language.

Returns
string|null
getLink ( )

Get a link to the source website.

Returns
string|null
getTitle ( )

Get the feed title.

Returns
string|null