Свойство | Type | Description | |
---|---|---|---|
$_currentURI | |||
$_dtd | |||
$_dtdManager | Horde_Xml_Wbxml_DtdManager | The DTD Manager. | |
$_hasWrittenHeader | |||
$_output | |||
$_parser | resource | The XML parser. | |
$_stringTable | |||
$_strings | |||
$_subParser | |||
$_subParserStack | |||
$_uriNums | |||
$_uris |
Méthode | Description | |
---|---|---|
Horde_Xml_Wbxml_Encoder ( ) | Constructor. | |
changecodepage ( $uri ) | ||
characters ( $chars ) | ||
encode ( $xml ) | Take the input $xml and turn it into WBXML. This is _not_ the intended way of using this class. It is derived from Contenthandler and one should use it as a ContentHandler and produce the XML-structure with startElement(), endElement(), and characters(). | |
endElement ( $uri, $name ) | ||
getOutput ( ) | Getter for property output. | |
getOutputSize ( ) | ||
opaque ( $o ) | ||
startElement ( $uri, $name, $attributes = [] ) | ||
writeAttribute ( $name, $value, $cs ) | ||
writeAttributes ( $attrs, $cs ) | ||
writeCharset ( $charset ) | ||
writeDocumentPublicIdentifier ( $dpiString, &$strings ) | ||
writeHeader ( $uri ) | This will write the correct headers. | |
writeNull ( $charset ) | ||
writeString ( $str, $cs ) | ||
writeStringTable ( $strings, $charset, $stringTable ) | ||
writeTag ( $name, $attrs, $hasContent, $cs ) | ||
writeVersionNumber ( $version ) |
Méthode | Description | |
---|---|---|
_addNullByte ( &$bytes ) | ||
_characters ( $parser, $chars ) | ||
_endElement ( $parser, $tag ) | ||
_getBytes ( $string, $cs ) | ||
_splitURI ( $tag ) | ||
_startElement ( $parser, $tag, $attributes ) |
public encode ( $xml ) |
public writeDocumentPublicIdentifier ( $dpiString, &$strings ) |
protected Horde_Xml_Wbxml_DtdManager $_dtdManager | ||
Résultat | Horde_Xml_Wbxml_DtdManager |