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

Public Member Functions

 getSection ()
 Get the entry section.
 
 getDepartment ()
 Get the entry department.
 
 getHitParade ()
 Get the entry hit_parade.
 
 getCommentCount ()
 Get the entry comments.
 
- 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

 getData ($name, $type= 'string')
 Get the entry data specified by name.
 
 registerNamespaces ()
 Register Slash 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

getCommentCount ( )

Get the entry comments.

Returns
int
getData (   $name,
  $type = 'string' 
)
protected

Get the entry data specified by name.

Parameters
string$name
string$type
Returns
mixed|null
getDepartment ( )

Get the entry department.

Returns
string|null
getHitParade ( )

Get the entry hit_parade.

Returns
array
getSection ( )

Get the entry section.

Returns
string|null
registerNamespaces ( )
protected

Register Slash namespaces.

Returns
void