cvs: peardoc /en/core/ppm/pear-channelfile resetrest.xml
| From: | Greg Beaver | Date: | Fri, 03 Jun 2005 01:26:35 +0000 |
| Subject: | cvs: peardoc /en/core/ppm/pear-channelfile resetrest.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-6186@lists.php.net to get a copy of this message | ||
cellog Thu Jun 2 21:26:35 2005 EDT
Added files:
/peardoc/en/core/ppm/pear-channelfile resetrest.xml
Log:
add new docs
http://cvs.php.net/co.php/peardoc/en/core/ppm/pear-channelfile/resetrest.xml?r=1.1&p=1
Index: peardoc/en/core/ppm/pear-channelfile/resetrest.xml
+++ peardoc/en/core/ppm/pear-channelfile/resetrest.xml
<!-- $Revision: 1.1 $ -->
<refentry id="core.ppm.pear-channelfile.resetrest">
<refnamediv>
<refname>
<function>PEAR_ChannelFile::resetREST</function>
</refname>
<refpurpose>Since REST does not implement RPC, provide this as a logical wrapper around
resetFunctions for REST</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>require_once
'/ChannelFile.php';</funcsynopsisinfo>
<funcprototype>
<funcdef>
void
<function>PEAR_ChannelFile::resetREST</function>
</funcdef>
<paramdef>
string|false
<parameter>
<optional>$mirror = &false;</optional>
</parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="core.ppm.pear-channelfile.resetrest.desc">
&title.desc;
<para>
Similar to <link
linkend="core.ppm.pear-channelfile.resetfunctions"><function>resetFunctions</function></link>,
<function>resetREST</function> removes all REST base URLs in order to start adding
new
REST functions to a channel.
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.resetrest.param">
&title.param;
<para>
<variablelist>
<varlistentry>
<term>
<type>string|&false;</type>
<parameter>$mirror</parameter>
</term>
<listitem>
<para>mirror name, if any</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.resetrest.throws">
&title.throws;
<para>
<emphasis>throws</emphasis>
no exceptions thrown
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.resetrest.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>