cvs: peardoc /en/core/ppm/pear-channelfile getfunctions.xml
| From: | Greg Beaver | Date: | Fri, 03 Jun 2005 00:56:19 +0000 |
| Subject: | cvs: peardoc /en/core/ppm/pear-channelfile getfunctions.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-6171@lists.php.net to get a copy of this message | ||
cellog Thu Jun 2 20:56:19 2005 EDT
Added files:
/peardoc/en/core/ppm/pear-channelfile getfunctions.xml
Log:
add new docs
http://cvs.php.net/co.php/peardoc/en/core/ppm/pear-channelfile/getfunctions.xml?r=1.1&p=1
Index: peardoc/en/core/ppm/pear-channelfile/getfunctions.xml
+++ peardoc/en/core/ppm/pear-channelfile/getfunctions.xml
<!-- $Revision: 1.1 $ -->
<refentry id="core.ppm.pear-channelfile.getfunctions">
<refnamediv>
<refname>
<function>PEAR_ChannelFile::getFunctions</function>
</refname>
<refpurpose>Retrieve a list of all xmlrpc/soap functions</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>require_once
'/ChannelFile.php';</funcsynopsisinfo>
<funcprototype>
<funcdef>
<replaceable>array|false</replaceable>
<function>PEAR_ChannelFile::getFunctions</function>
</funcdef>
<paramdef>
string
<parameter>$protocol</parameter>
</paramdef>
<paramdef>
string
<parameter>
<optional>$mirror = &false;</optional>
</parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="core.ppm.pear-channelfile.getfunctions.desc">
&title.desc;
<para>
This retrieves an array of all defined <literal>xmlrpc</literal> and
<literal>soap</literal>
functions. Use <link
linkend="core.ppm.pear-channelfile.getbaseurl"><function>getBaseURL</function></link>
to access <literal>rest</literal> base URLs.
</para>
<para>
The format of each function is the same as is returned by <link
linkend="core.ppm.pear-channelfile.getfunction"><function>getFunction</function></link>
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.getfunctions.param">
&title.param;
<para>
<variablelist>
<varlistentry>
<term>
&type.string;
<parameter>$protocol</parameter>
</term>
<listitem>
<para>protocol type (xmlrpc, soap)</para>
</listitem>
</varlistentry>
</variablelist>
<variablelist>
<varlistentry>
<term>
&type.string;
<parameter>$mirror</parameter>
</term>
<listitem>
<para>Mirror name</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.getfunctions.throws">
&title.throws;
<para>
<emphasis>throws</emphasis>
no exceptions thrown
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.getfunctions.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>