cvs: peardoc /en/core/ppm/pear-channelfile setpath.xml
| From: | Greg Beaver | Date: | Fri, 03 Jun 2005 01:42:01 +0000 |
| Subject: | cvs: peardoc /en/core/ppm/pear-channelfile setpath.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-6192@lists.php.net to get a copy of this message | ||
cellog Thu Jun 2 21:42:01 2005 EDT
Added files:
/peardoc/en/core/ppm/pear-channelfile setpath.xml
Log:
add new docs
http://cvs.php.net/co.php/peardoc/en/core/ppm/pear-channelfile/setpath.xml?r=1.1&p=1
Index: peardoc/en/core/ppm/pear-channelfile/setpath.xml
+++ peardoc/en/core/ppm/pear-channelfile/setpath.xml
<!-- $Revision: 1.1 $ -->
<refentry id="core.ppm.pear-channelfile.setpath">
<refnamediv>
<refname>
<function>PEAR_ChannelFile::setPath</function>
</refname>
<refpurpose>Set the file path for xmlrpc or soap</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>require_once
'/ChannelFile.php';</funcsynopsisinfo>
<funcprototype>
<funcdef>
void
<function>PEAR_ChannelFile::setPath</function>
</funcdef>
<paramdef>
string
<parameter>$protocol</parameter>
</paramdef>
<paramdef>
string|false
<parameter>$path</parameter>
</paramdef>
<paramdef>
string|false
<parameter>
<optional>$mirror = &false;</optional>
</parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="core.ppm.pear-channelfile.setpath.desc">
&title.desc;
<para>
Set the relative location to the channel that should be used to connect to the
selected protocol. Defaults are <literal>xmlrpc.php</literal> for xml-rpc and
<literal>soap.php</literal> for SOAP.
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.setpath.param">
&title.param;
<para>
<variablelist>
<varlistentry>
<term>
&type.string;
<parameter>$protocol</parameter>
</term>
<listitem>
<para>
<literal>xmlrpc</literal> or <literal>soap</literal>
</para>
</listitem>
</varlistentry>
</variablelist>
<variablelist>
<varlistentry>
<term>
<type>string|&false;</type>
<parameter>$path</parameter>
</term>
<listitem>
<para>name of the mirror server, or &false; for the primary</para>
</listitem>
</varlistentry>
</variablelist>
<variablelist>
<varlistentry>
<term>
&type.string;|&false;
<parameter>$mirror</parameter>
</term>
<listitem>
<para>
Mirror name or false for primary server.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.setpath.throws">
&title.throws;
<para>
<emphasis>throws</emphasis>
no exceptions thrown
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.setpath.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>