cvs: peardoc /en/core/ppm/pear-channelfile setalias.xml

From: Date: Fri, 03 Jun 2005 01:31:26 +0000
Subject: cvs: peardoc /en/core/ppm/pear-channelfile setalias.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-6189@lists.php.net to get a copy of this message
cellog Thu Jun 2 21:31:26 2005 EDT Added files: /peardoc/en/core/ppm/pear-channelfile setalias.xml Log: add new docs http://cvs.php.net/co.php/peardoc/en/core/ppm/pear-channelfile/setalias.xml?r=1.1&p=1 Index: peardoc/en/core/ppm/pear-channelfile/setalias.xml +++ peardoc/en/core/ppm/pear-channelfile/setalias.xml <!-- $Revision: 1.1 $ --> <refentry id="core.ppm.pear-channelfile.setalias"> <refnamediv> <refname> <function>PEAR_ChannelFile::setAlias</function> </refname> <refpurpose>Set the channel alias</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;/ChannelFile.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> boolean <function>PEAR_ChannelFile::setAlias</function> </funcdef> <paramdef> string <parameter>$alias</parameter> </paramdef> <paramdef> boolean <parameter> <optional>$local = &false;</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.ppm.pear-channelfile.setalias.desc"> &title.desc; <para> Set the suggested alias that users can use on the command-line as a shortcut access to this channel. For instance, channel <literal>pear.php.net</literal>'s alias is <literal>pear</literal>. </para> </refsect1> <refsect1 id="core.ppm.pear-channelfile.setalias.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$alias</parameter> </term> <listitem> <para> The alias </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.bool; <parameter>$local</parameter> </term> <listitem> <para> determines whether the alias is in channel.xml or local. If local, then this is the result of a <literal>pear channel-alias</literal> command. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="core.ppm.pear-channelfile.setalias.returns"> &title.returns; <para> <emphasis>returns</emphasis> success </para> </refsect1> <refsect1 id="core.ppm.pear-channelfile.setalias.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="core.ppm.pear-channelfile.setalias.note"> &title.note; &note.notstatic; </refsect1> </refentry>

« previous php.pear.doc (#6189) next »