2010-03-28 22:10:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2009-07-11 09:19:14 +00:00
|
|
|
<!-- $Revision$ -->
|
2007-06-20 22:25:43 +00:00
|
|
|
<refentry xml:id="function.xmlrpc-decode" xmlns="http://docbook.org/ns/docbook">
|
2007-01-07 19:20:43 +00:00
|
|
|
<refnamediv>
|
|
|
|
<refname>xmlrpc_decode</refname>
|
|
|
|
<refpurpose>Decodes XML into native PHP types</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
|
|
|
<methodsynopsis>
|
2007-01-22 02:46:49 +00:00
|
|
|
<type>mixed</type><methodname>xmlrpc_decode</methodname>
|
2007-01-07 19:20:43 +00:00
|
|
|
<methodparam><type>string</type><parameter>xml</parameter></methodparam>
|
2009-11-25 14:49:47 +00:00
|
|
|
<methodparam choice="opt"><type>string</type><parameter>encoding</parameter><initializer>"iso-8859-1"</initializer></methodparam>
|
2007-01-07 19:20:43 +00:00
|
|
|
</methodsynopsis>
|
|
|
|
&warn.experimental.func;
|
|
|
|
</refsect1>
|
2007-01-17 11:53:46 +00:00
|
|
|
|
|
|
|
<refsect1 role="parameters">
|
|
|
|
&reftitle.parameters;
|
|
|
|
<para>
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>xml</parameter></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
XML response returned by XMLRPC method.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>encoding</parameter></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2009-11-25 14:49:47 +00:00
|
|
|
Input encoding supported by iconv.
|
2007-01-17 11:53:46 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
|
|
|
<para>
|
2007-01-22 02:46:49 +00:00
|
|
|
Returns either an array, or an integer, or a string, or a boolean according
|
|
|
|
to the response returned by the XMLRPC method.
|
2007-01-17 11:53:46 +00:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="examples">
|
|
|
|
&reftitle.examples;
|
|
|
|
<para>
|
|
|
|
See example by <function>xmlrpc_encode_request</function>.
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="seealso">
|
|
|
|
&reftitle.seealso;
|
|
|
|
<para>
|
|
|
|
<simplelist>
|
|
|
|
<member><function>xmlrpc_encode_request</function></member>
|
|
|
|
<member><function>xmlrpc_is_fault</function></member>
|
|
|
|
</simplelist>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
2007-01-07 19:20:43 +00:00
|
|
|
</refentry>
|
2002-04-15 00:12:54 +00:00
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2002-04-15 00:12:54 +00:00
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|