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

Public Member Functions

 __construct (DOMElement $entry, $entryKey, $type=null)
 Constructor.
 
 getAuthor ($index=0)
 Get an author entry.
 
 getAuthors ()
 Get an array with feed authors.
 
 getContent ()
 Get the entry content.
 
 getDateCreated ()
 Get the entry's date of creation.
 
 getDateModified ()
 Get the entry's date of modification.
 
 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.
 
 getCategories ()
 Get all categories.
 
 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.
 
 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

 $xpathQueryRdf = ''
 
 $xpathQueryRss = ''
 
- 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
string$entryKey
string$type

Member Function Documentation

getAuthor (   $index = 0)

Get an author entry.

Parameters
int$index
Returns
string

Implements EntryInterface.

getAuthors ( )

Get an array with feed authors.

Returns
array

Implements EntryInterface.

getCategories ( )

Get all categories.

Returns
Reader

Implements EntryInterface.

getCommentCount ( )

Get the number of comments/replies for current entry.

Returns
string|null

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's date of creation.

Returns

Implements EntryInterface.

getDateModified ( )

Get the entry's date of modification.

Exceptions
Exception\RuntimeException
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.

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

$xpathQueryRdf = ''
protected
$xpathQueryRss = ''
protected