Zymba Documentation
XML
Text
object @XML() {
createFromTree(object $tree): string {}
escape(string $string): string {}
parse(string $document, ?function $callback_open, ?function $callback_close, ?function $callback_cdata, ?object $bind, bool $preservecase) {}
parseToTree(string $document, bool $preservecase): object {}
unescape(string $string): string {}
}
Static XML related functions.
Functions
CODE
@XML.parse(string $document, ?function $callback_open, ?function $callback_close, ?function $callback_cdata, ?object $bind, bool $preservecase): void
Parameters
| Name | Type | Value | Default |
|---|---|---|---|
| document | string | "" | |
| callback_open | ?function | null | |
| callback_close | ?function | null | |
| callback_cdata | ?function | null | |
| bind | ?object | null | |
| preservecase | bool | false |