Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Abstract XML generator adapter
string $_encoding = ''
XML encoding string
__construct(
string $encoding
=
UTF-8
)
:
Construct new instance of the generator
__toString(
)
:
string
Returns XML without document declaration
_closeElement(
string $name
)
:
End XML element
_openElement(
string $name
)
:
Start XML element
_writeTextData(
string $text
)
:
Write XML text data into the currently opened XML element
closeElement(
string $name
)
:
Zend_XmlRpc_Generator_Abstract
End of an XML element
Method marks the end of an XML element
flush(
)
:
string
Returns the XML as a string and flushes all internal buffers
getEncoding(
)
:
string
Return encoding
openElement(
string $name, string $value
=
null
)
:
Zend_XmlRpc_Generator_Abstract
Start XML element
Method opens a new XML element with an element name and an optional value
saveXml(
)
:
string
Return XML as a string
stripDeclaration(
string $xml
)
:
string
Removes XML declaration from a string