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

Public Member Functions

 getAuthor ($index=0)
 Get an author entry.
 
 getAuthors ()
 Get an array with feed authors.
 
 getCategories ()
 Get categories (subjects under DC)
 
 getContent ()
 Get the entry content.
 
 getDescription ()
 Get the entry description.
 
 getId ()
 Get the entry ID.
 
 getTitle ()
 Get the entry title.
 
 getDate ()
 
- 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 Member Functions

 registerNamespaces ()
 Register DC namespaces.
 
- Protected Member Functions inherited from AbstractEntry
 _loadExtensions ()
 Load extensions from Zend.
 

Additional Inherited Members

- Protected Attributes inherited from AbstractEntry
 $data = []
 
 $domDocument = null
 
 $entry = null
 
 $entryKey = 0
 
 $xpath = null
 
 $extensions = []
 

Member Function Documentation

getAuthor (   $index = 0)

Get an author entry.

Parameters
int$index
Returns
string
getAuthors ( )

Get an array with feed authors.

Returns
array
getCategories ( )

Get categories (subjects under DC)

Returns
Collection
getContent ( )

Get the entry content.

Returns
string
getDate ( )
Returns
DateTime|null
getDescription ( )

Get the entry description.

Returns
string
getId ( )

Get the entry ID.

Returns
string
getTitle ( )

Get the entry title.

Returns
string
registerNamespaces ( )
protected

Register DC namespaces.

Returns
void