cvs: peardoc /en/core/ppm/pear-channelfile addmirror.xml
| From: | Greg Beaver | Date: | Fri, 03 Jun 2005 00:15:16 +0000 |
| Subject: | cvs: peardoc /en/core/ppm/pear-channelfile addmirror.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-6160@lists.php.net to get a copy of this message | ||
cellog Thu Jun 2 20:15:16 2005 EDT
Added files:
/peardoc/en/core/ppm/pear-channelfile addmirror.xml
Log:
add channelfile new docs
http://cvs.php.net/co.php/peardoc/en/core/ppm/pear-channelfile/addmirror.xml?r=1.1&p=1
Index: peardoc/en/core/ppm/pear-channelfile/addmirror.xml
+++ peardoc/en/core/ppm/pear-channelfile/addmirror.xml
<refentry id="core.ppm.pear-channelfile.addmirror">
<refnamediv>
<refname>
<function>PEAR_ChannelFile::addMirror</function>
</refname>
<refpurpose>addMirror</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>require_once
'/ChannelFile.php';</funcsynopsisinfo>
<funcprototype>
<funcdef>
boolean
<function>PEAR_ChannelFile::addMirror</function>
</funcdef>
<paramdef>
string
<parameter>$server</parameter>
</paramdef>
<paramdef>
int
<parameter>
<optional>$port = null</optional>
</parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="core.ppm.pear-channelfile.addmirror.desc">
&title.desc;
<para>
Add a mirror server. Note that mirrors must be added to a channel.xml in order
for users to use them. Unofficial mirrors are not allowed without user intervention.
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.addmirror.param">
&title.param;
<para>
<variablelist>
<varlistentry>
<term>
&type.string;
<parameter>$server</parameter>
</term>
<listitem>
<para>mirror server</para>
</listitem>
</varlistentry>
</variablelist>
<variablelist>
<varlistentry>
<term>
&type.int;
<parameter>$port</parameter>
</term>
<listitem>
<para>mirror http port</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.addmirror.throws">
&title.throws;
<para>
<emphasis>throws</emphasis>
no exceptions thrown
</para>
</refsect1>
<refsect1 id="core.ppm.pear-channelfile.addmirror.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>