PEAR Manual
Prev |  | Next

# PEAR_ChannelFile::getAlias()

PEAR_ChannelFile::getAlias() -- Return the suggested alias users can use to refer to this channel on the command-line.

## Synopsis

    require_once '/ChannelFile.php';

``string PEAR_ChannelFile::getAlias` ()`

## Description

This returns the channel alias. For instance, channel `pear.php.net`'s alias is `pear`, channel `pecl.php.net`'s alias is `pecl`.

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_ChannelFile::fromXmlString() | Up | PEAR_ChannelFile::getBaseURL()