Zend Framework
1.12
|
DOMDocument based implementation of a XML/RPC generator. More...
Public Member Functions | |
saveXml () | |
Save XML as a string. | |
![]() | |
__construct ($encoding= 'UTF-8') | |
Construct new instance of the generator. | |
openElement ($name, $value=null) | |
Start XML element. | |
closeElement ($name) | |
End of an XML element. | |
saveXml () | |
Return XML as a string. | |
getEncoding () | |
Return encoding. | |
flush () | |
Returns the XML as a string and flushes all internal buffers. | |
__toString () | |
Returns XML without document declaration. | |
stripDeclaration ($xml) | |
Removes XML declaration from a string. | |
Protected Member Functions | |
_openElement ($name) | |
Start XML element. | |
_writeTextData ($text) | |
Write XML text data into the currently opened XML element. | |
_closeElement ($name) | |
Close an previously opened XML element. | |
_init () | |
Initializes internal objects. | |
![]() | |
_openElement ($name) | |
Start XML element. | |
_writeTextData ($text) | |
Write XML text data into the currently opened XML element. | |
_closeElement ($name) | |
End XML element. | |
Protected Attributes | |
$_dom | |
$_currentElement | |
![]() | |
$_encoding | |
DOMDocument based implementation of a XML/RPC generator.
|
protected |
Close an previously opened XML element.
Resets $_currentElement to the next parent node in the hierarchy
string | $name |
|
protected |
Initializes internal objects.
|
protected |
Start XML element.
string | $name |
|
protected |
Write XML text data into the currently opened XML element.
string | $text |
saveXml | ( | ) |
Save XML as a string.
|
protected |
|
protected |