cvs: peardoc /en/core/ppm/pear-channelfile supports.xml
| From: | Greg Beaver | Date: | Sat, 04 Jun 2005 02:41:11 +0000 |
| Subject: | cvs: peardoc /en/core/ppm/pear-channelfile supports.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-6202@lists.php.net to get a copy of this message | ||
cellog Fri Jun 3 22:41:11 2005 EDT
Added files:
/peardoc/en/core/ppm/pear-channelfile supports.xml
Log:
add new docs
http://cvs.php.net/co.php/peardoc/en/core/ppm/pear-channelfile/supports.xml?r=1.1&p=1
Index: peardoc/en/core/ppm/pear-channelfile/supports.xml
+++ peardoc/en/core/ppm/pear-channelfile/supports.xml
<!-- $Revision: 1.1 $ -->
<refentry id="core.ppm.pear-channelfile.supports">
<refnamediv>
<refname>
<function>PEAR_ChannelFile::supports</function>
</refname>
<refpurpose>determines whether a webservices function is supported by a
channel</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>require_once
'/ChannelFile.php';</funcsynopsisinfo>
<funcprototype>
<funcdef>
boolean
<function>PEAR_ChannelFile::supports</function>
</funcdef>
<paramdef>
string
<parameter>$type</parameter>
</paramdef>
<paramdef>
string
<parameter>
<optional>$name = &null;</optional>
</parameter>
</paramdef>
<paramdef>
string|false
<parameter>
<optional>$mirror = &false;</optional>
</parameter>
</paramdef>
<paramdef>
string
<parameter>
<optional>$version = '1.0'</optional>
</parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="core.ppm.pear-channelfile.supports.desc">
&title.desc;
<para>
This is used in the installer to determine whether a protocol is supported before
attempting to connect to a remote server and invoke the function needed.
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.supports.param">
&title.param;
<para>
<variablelist>
<varlistentry>
<term>
&type.string;
<parameter>$type</parameter>
</term>
<listitem>
<para>protocol type (<literal>xmlrpc</literal> or
<literal>soap</literal>)</para>
</listitem>
</varlistentry>
</variablelist>
<variablelist>
<varlistentry>
<term>
&type.string;
<parameter>$name</parameter>
</term>
<listitem>
<para>function name (like <literal>package.info</literal>)</para>
</listitem>
</varlistentry>
</variablelist>
<variablelist>
<varlistentry>
<term>
&type.string;|&false;
<parameter>$mirror</parameter>
</term>
<listitem>
<para>Mirror server name or &false; for primary server</para>
</listitem>
</varlistentry>
</variablelist>
<variablelist>
<varlistentry>
<term>
&type.string;
<parameter>$version</parameter>
</term>
<listitem>
<para>function version</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.supports.throws">
&title.throws;
<para>
<emphasis>throws</emphasis>
no exceptions thrown
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.supports.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>