cvs: peardoc /en/core/ppm/pear-channelfile getpath.xml
| From: | Greg Beaver | Date: | Fri, 03 Jun 2005 01:03:27 +0000 |
| Subject: | cvs: peardoc /en/core/ppm/pear-channelfile getpath.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-6175@lists.php.net to get a copy of this message | ||
cellog Thu Jun 2 21:03:27 2005 EDT
Added files:
/peardoc/en/core/ppm/pear-channelfile getpath.xml
Log:
add new docs
http://cvs.php.net/co.php/peardoc/en/core/ppm/pear-channelfile/getpath.xml?r=1.1&p=1
Index: peardoc/en/core/ppm/pear-channelfile/getpath.xml
+++ peardoc/en/core/ppm/pear-channelfile/getpath.xml
<!-- $Revision: 1.1 $ -->
<refentry id="core.ppm.pear-channelfile.getpath">
<refnamediv>
<refname>
<function>PEAR_ChannelFile::getPath</function>
</refname>
<refpurpose>getPath</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>require_once
'/ChannelFile.php';</funcsynopsisinfo>
<funcprototype>
<funcdef>
string
<function>PEAR_ChannelFile::getPath</function>
</funcdef>
<paramdef>
string
<parameter>$protocol</parameter>
</paramdef>
<paramdef>
string|false
<parameter>
<optional>$mirror = &false;</optional>
</parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="core.ppm.pear-channelfile.getpath.desc">
&title.desc;
<para>
Retrieve the relative path to access the protocol desired. If the channel is named
<literal>foo.example.com</literal> and xmlrpc is accessed at
<literal>foo.example.com/xml/rpc</literal>
then path will be <literal>xml/rpc</literal>.
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.getpath.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;
<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.getpath.throws">
&title.throws;
<para>
<emphasis>throws</emphasis>
no exceptions thrown
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.getpath.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>