PEAR_Config::set (Previous) (Next) PEAR_Config::setInstallRoot

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

PEAR_Config::setChannels()

PEAR_Config::setChannels() -- Set the list of channels.

Beschreibung

This should be set via a call to PEAR_Registry::listChannels(). A call to this function sets up empty arrays for each channel in configurations.

Parameter

array $channels

a simple list of channel names.

boolean $merge

if true, then the list of channel is merged with the existing list, otherwise it replaces the existing list.

Rückgabewert

returns success of operation

Fehler-Meldungen

throws no exceptions thrown

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.

PEAR_Config::set (Previous) (Next) PEAR_Config::setInstallRoot

Download Documentation Last updated: Sun, 28 Sep 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.