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

Public Member Functions

 __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

 loadExtensions ()
 Load extensions from Zend.
 

Protected Attributes

 $data = []
 
 $domDocument = null
 
 $entry = null
 
 $entryKey = 0
 
 $xpath = null
 
 $extensions = []
 

Constructor & Destructor Documentation

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

Constructor.

Parameters
DOMElement$entry
int$entryKey
string$type

Member Function Documentation

__call (   $method,
  $args 
)

Method overloading: call given method on first extension implementing it.

Parameters
string$method
array$args
Returns
mixed
Exceptions
Exception\RuntimeExceptionif no extensions implements the method
getDomDocument ( )

Get the DOM.

Returns
DOMDocument
getElement ( )

Get the entry element.

Returns
DOMElement
getEncoding ( )

Get the Entry's encoding.

Returns
string
getExtension (   $name)

Return an Extension object with the matching name (postfixed with _Entry)

Parameters
string$name
Returns
Reader
getExtensions ( )

Get registered extensions.

Returns
array
getType ( )

Get the entry type.

Returns
string
getXpath ( )

Get the XPath query object.

Returns
DOMXPath
loadExtensions ( )
protected

Load extensions from Zend.

Returns
void
saveXml ( )

Get entry as xml.

Returns
string
setXpath ( DOMXPath  $xpath)

Set the XPath query.

Parameters
DOMXPath$xpath
Returns
AbstractEntry

Member Data Documentation

$data = []
protected
$domDocument = null
protected
$entry = null
protected
$entryKey = 0
protected
$extensions = []
protected
$xpath = null
protected