PEAR_Config::setChannels

PEAR_Config::setChannels()

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

Description

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.

Return value

returns success of operation

Throws

throws no exceptions thrown

Note

This function can not be called statically.

© Copyright 2003-2014 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.