PEAR_Config::setChannels

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

Synopsis

require_once '/Config.php'; (since PEAR 1.4.0)

bool PEAR_Config::setChannels ( array $channels , bool $merge = = false )

Description

Doit être défini via un appel à PEAR_Registry::listChannels(). Un appel à cette fonction définit des tableaux vides pour chaque canal dans la configuration.

Parameter

array $channels

une liste simple de noms de canaux.

boolean $merge

si TRUE, alors la liste des canaux est intégrée à la liste existante, sinon, elle remplace l'existante.

Return value

Throws

No exceptions thrown.

Note

This function can not be called statically.