boolean
PEAR_ChannelFile::setAlias
(
string
$alias
,
boolean
$local
= false
)
Set the suggested alias that users can use on the command-line as a shortcut access to this
channel. For instance, channel pear.php.net
's alias is pear
.
$alias
The alias
$local
determines whether the alias is in channel.xml or local. If local, then
this is the result of a pear channel-alias
command.
returns success
throws no exceptions thrown
This function can not be called statically.