PEAR_ChannelFile::resetREST | PEAR_ChannelFile::setBaseURL |
PEAR_ChannelFile | |
PEAR Manual | |
require_once '/ChannelFile.php'; |
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.
The alias
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.
PEAR_ChannelFile::resetREST | PEAR_ChannelFile::setBaseURL |
PEAR_ChannelFile | |
PEAR Manual | |