Zend Framework  3.0
Public Member Functions | Protected Attributes | List of all members
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 Reader object.
 
 getSource ()
 Get source feed metadata from the entry.
 
 setXpath (DOMXPath $xpath)
 Set the XPath query (incl.
 
- Public Member Functions inherited from AbstractEntry
 __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 AbstractEntry
 $data = []
 
 $domDocument = null
 
 $entry = null
 
 $entryKey = 0
 
 $xpath = null
 
 $extensions = []
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractEntry
 _loadExtensions ()
 Load extensions from Zend.
 

Constructor & Destructor Documentation

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

Constructor.

Parameters
DOMElement$entry
int$entryKey
string$type

Member Function Documentation

getAuthor (   $index = 0)

Get the specified author.

Parameters
int$index
Returns
string|null

Implements EntryInterface.

getAuthors ( )

Get an array with feed authors.

Returns
array

Implements EntryInterface.

getCategories ( )

Get category data as a Reader object.

Returns
Reader

Implements EntryInterface.

getCommentCount ( )

Get the number of comments/replies for current entry.

Returns
int

Implements EntryInterface.

getCommentFeedLink ( )

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

Returns
string

Implements EntryInterface.

getCommentLink ( )

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

Returns
string

Implements EntryInterface.

getContent ( )

Get the entry content.

Returns
string

Implements EntryInterface.

getDateCreated ( )

Get the entry creation date.

Returns

Implements EntryInterface.

getDateModified ( )

Get the entry modification date.

Returns

Implements EntryInterface.

getDescription ( )

Get the entry description.

Returns
string

Implements EntryInterface.

getEnclosure ( )

Get the entry enclosure.

Returns
string

Implements EntryInterface.

getId ( )

Get the entry ID.

Returns
string

Implements EntryInterface.

getLink (   $index = 0)

Get a specific link.

Parameters
int$index
Returns
string

Implements EntryInterface.

getLinks ( )

Get all links.

Returns
array

Implements EntryInterface.

getPermalink ( )

Get a permalink to the entry.

Returns
string

Implements EntryInterface.

getSource ( )

Get source feed metadata from the entry.

Returns
Reader|null
getTitle ( )

Get the entry title.

Returns
string

Implements EntryInterface.

setXpath ( DOMXPath  $xpath)

Set the XPath query (incl.

on all Extensions)

Parameters
DOMXPath$xpath
Returns
void

Member Data Documentation

$xpathQuery = ''
protected