cvs: peardoc /en/core/ppm/pear-channelfile supportsrest.xml
| From: | Greg Beaver | Date: | Sat, 04 Jun 2005 02:43:27 +0000 |
| Subject: | cvs: peardoc /en/core/ppm/pear-channelfile supportsrest.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-6203@lists.php.net to get a copy of this message | ||
cellog Fri Jun 3 22:43:27 2005 EDT
Added files:
/peardoc/en/core/ppm/pear-channelfile supportsrest.xml
Log:
add new docs
http://cvs.php.net/co.php/peardoc/en/core/ppm/pear-channelfile/supportsrest.xml?r=1.1&p=1
Index: peardoc/en/core/ppm/pear-channelfile/supportsrest.xml
+++ peardoc/en/core/ppm/pear-channelfile/supportsrest.xml
<!-- $Revision: 1.1 $ -->
<refentry id="core.ppm.pear-channelfile.supportsrest">
<refnamediv>
<refname>
<function>PEAR_ChannelFile::supportsREST</function>
</refname>
<refpurpose>
Determines whether a channel supports any Representational State Transfer
(REST) resources
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>require_once
'/ChannelFile.php';</funcsynopsisinfo>
<funcprototype>
<funcdef>
bool
<function>PEAR_ChannelFile::supportsREST</function>
</funcdef>
<paramdef>
string
<parameter>
<optional>$mirror = &false;</optional>
</parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="core.ppm.pear-channelfile.supportsrest.desc">
&title.desc;
<para>
This does not check to see which REST resources are supported, use
<link
linkend="core.ppm.pear-channelfile.getbaseurl"><function>getBaseURL</function></link>
to check specific REST resource or resource group support.
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.supportsrest.param">
&title.param;
<para>
<variablelist>
<varlistentry>
<term>
&type.string;|&false;
<parameter>$mirror</parameter>
</term>
<listitem>
<para>
Mirror server name or &false; for the primary server.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.supportsrest.throws">
&title.throws;
<para>
<emphasis>throws</emphasis>
no exceptions thrown
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.supportsrest.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>