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

Public Member Functions

 __construct (DOMElement $entry, $entryKey, $type=null)
 Constructor.
 
 getAuthor ($index=0)
 Get the specified author.
 
 getAuthors ()
 Get an array with feed authors.
 
 getContent ()
 Get the entry content.
 
 getDateCreated ()
 Get the entry creation date.
 
 getDateModified ()
 Get the entry modification date.
 
 getDescription ()
 Get the entry description.
 
 getEnclosure ()
 Get the entry enclosure.
 
 getId ()
 Get the entry ID.
 
 getLink ($index=0)
 Get a specific link.
 
 getLinks ()
 Get all links.
 
 getPermalink ()
 Get a permalink to the entry.
 
 getTitle ()
 Get the entry title.
 
 getCommentCount ()
 Get the number of comments/replies for current entry.
 
 getCommentLink ()
 Returns a URI pointing to the HTML page where comments can be made on this entry.
 
 getCommentFeedLink ()
 Returns a URI pointing to a feed of all comments for this entry.
 
 getCategories ()
 Get category data as a Zend_Feed_Reader_Collection_Category object.
 
 getSource ()
 Get source feed metadata from the entry.
 
 setXpath (DOMXPath $xpath)
 Set the XPath query (incl.
 
- Public Member Functions inherited from Zend_Feed_Reader_EntryAbstract
 __construct (DOMElement $entry, $entryKey, $type=null)
 Constructor.
 
 getDomDocument ()
 Get the DOM.
 
 getElement ()
 Get the entry element.
 
 getEncoding ()
 Get the Entry's encoding.
 
 saveXml ()
 Get entry as xml.
 
 getType ()
 Get the entry type.
 
 getXpath ()
 Get the XPath query object.
 
 setXpath (DOMXPath $xpath)
 Set the XPath query.
 
 getExtensions ()
 Get registered extensions.
 
 getExtension ($name)
 Return an Extension object with the matching name (postfixed with _Entry)
 
 __call ($method, $args)
 Method overloading: call given method on first extension implementing it.
 

Protected Attributes

 $_xpathQuery = ''
 
- Protected Attributes inherited from Zend_Feed_Reader_EntryAbstract
 $_data = array()
 
 $_domDocument = null
 
 $_entry = null
 
 $_entryKey = 0
 
 $_xpath = null
 
 $_extensions = array()
 

Additional Inherited Members

- Protected Member Functions inherited from Zend_Feed_Reader_EntryAbstract
 _loadExtensions ()
 Load extensions from Zend_Feed_Reader.
 

Constructor & Destructor Documentation

__construct ( DOMElement  $entry,
  $entryKey,
  $type = null 
)

Constructor.

Parameters
DOMElement$entry
int$entryKey
string$type
Returns
void

Member Function Documentation

getAuthor (   $index = 0)

Get the specified author.

Parameters
int$index
Returns
string|null

Implements Zend_Feed_Reader_EntryInterface.

getAuthors ( )

Get an array with feed authors.

Returns
array

Implements Zend_Feed_Reader_EntryInterface.

getCategories ( )
getCommentCount ( )

Get the number of comments/replies for current entry.

Returns
integer

Implements Zend_Feed_Reader_EntryInterface.

getCommentFeedLink ( )

Returns a URI pointing to a feed of all comments for this entry.

Returns
string

Implements Zend_Feed_Reader_EntryInterface.

getCommentLink ( )

Returns a URI pointing to the HTML page where comments can be made on this entry.

Returns
string

Implements Zend_Feed_Reader_EntryInterface.

getContent ( )

Get the entry content.

Returns
string

Implements Zend_Feed_Reader_EntryInterface.

getDateCreated ( )

Get the entry creation date.

Returns
string

Implements Zend_Feed_Reader_EntryInterface.

getDateModified ( )

Get the entry modification date.

Returns
string

Implements Zend_Feed_Reader_EntryInterface.

getDescription ( )

Get the entry description.

Returns
string

Implements Zend_Feed_Reader_EntryInterface.

getEnclosure ( )

Get the entry enclosure.

Returns
string

Implements Zend_Feed_Reader_EntryInterface.

getId ( )

Get the entry ID.

Returns
string

Implements Zend_Feed_Reader_EntryInterface.

getLink (   $index = 0)

Get a specific link.

Parameters
int$index
Returns
string

Implements Zend_Feed_Reader_EntryInterface.

getLinks ( )

Get all links.

Returns
array

Implements Zend_Feed_Reader_EntryInterface.

getPermalink ( )

Get a permalink to the entry.

Returns
string

Implements Zend_Feed_Reader_EntryInterface.

getSource ( )

Get source feed metadata from the entry.

Returns
Zend_Feed_Reader_Feed_Atom_Source|null
getTitle ( )

Get the entry title.

Returns
string

Implements Zend_Feed_Reader_EntryInterface.

setXpath ( DOMXPath  $xpath)

Set the XPath query (incl.

on all Extensions)

Parameters
DOMXPath$xpath

Member Data Documentation

$_xpathQuery = ''
protected