PEAR_ChannelFile::setAlias()
PEAR_ChannelFile::setAlias()
-- Set the channel alias
概要
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.
パラメータ
- 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.
例外・エラー
throws
no exceptions thrown
注意
この関数は、スタティックにコールする
ことはできません。