-
Method xml_version
float PiJAX.Serialise.xml_version(void|float ver)
- Description
Change the XML version number in the xml PI. Defaults to 1.0.
- Parameter var
Version number. Really should only be 1.0.
-
Method xml_encoding
string PiJAX.Serialise.xml_encoding(void|string encoding)
- Description
Change the XML encoding in the xml PI.
Defaults to "ISO-8859-1".
- Parameter encoding
The encoding.
-
Method pike_xml_namespace
string PiJAX.Serialise.pike_xml_namespace(void|string ns)
- Description
Change the default Pike namespace - don't do this unless you know
what you're doing.
Defaults to "http://pike.ida.liu.se/".
- Parameter ns
The URI of the new namespace.
-
Method pike_xml_ns_prefix
string PiJAX.Serialise.pike_xml_ns_prefix(void|string prefix)
- Description
Change the default prefix for the Pike namespace - don't do this
unless you know what you're doing.
Defaults to "pike".
- Parameter prefix
The URI of the new namespace.
-
Method mime_xml_namespace
string PiJAX.Serialise.mime_xml_namespace(void|string ns)
- Description
Change the default MIME namespace - don't do this unless you know
what you're doing.
Defaults to "http://pike.ida.liu.se/generated/manual/modref/ex/predef_3A_3A/MIME.html".
- Parameter ns
The URI of the new namespace.
-
Method mime_xml_ns_prefix
string PiJAX.Serialise.mime_xml_ns_prefix(void|string prefix)
- Description
Change the default prefix for the MIME namespace - don't do this
unless you know what you're doing.
Defaults to "mime".
- Parameter prefix
The URI of the new namespace.
-
Method string_encoding
string PiJAX.Serialise.string_encoding(void|string encoding)
- Description
Change the default string encoding. Defaults to "cdata".
Use this if you're trying to encode a binary string to
XML and you're getting backtraces.
- Parameter encoding
Either "base64", "uue" or "cdata".
-
Method serialise
string|object PiJAX.Serialise.serialise(mixed data, void|int as)
- Description
Serialise the argument into XML.
- Parameter data
The data to be encoded.
- See also
PiJAX.supported()
|