PEAR_ChannelFile::resetREST (Previous) (Next) PEAR_ChannelFile::setBaseURL

View this page in Last updated: Sun, 31 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Plain HTML

PEAR_ChannelFile::setAlias()

PEAR_ChannelFile::setAlias()  -- Set the channel alias

Description

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.

Parameter

string $alias

The alias

boolean $local

determines whether the alias is in channel.xml or local. If local, then this is the result of a pear channel-alias command.

Return value

returns success

Throws

throws no exceptions thrown

Note

This function can not be called statically.

PEAR_ChannelFile::resetREST (Previous) (Next) PEAR_ChannelFile::setBaseURL

Download Documentation Last updated: Sun, 31 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.