Source for file Channels.php
Documentation is available at Channels.php
class PEAR_Frontend_Gtk2_Channels
static function loadChannels ($cmbChannel, $config, $strDefaultChannel = 'pear.php.net')
$cmbChannel->get_model ()->clear ();
$arChannels = $config->getRegistry ()->getChannels ();
$arChannelNames = array ();
foreach ($arChannels as $nId => $channel) {
if ($channel->getName () != '__uri') {
$arChannelNames[] = $channel->getName ();
foreach ($arChannelNames as $strName) {
$cmbChannel->append_text ($strName);
if ($strName == $strDefaultChannel) {
$nDefaultChannelId = $nPos;
$cmbChannel->set_active ($nDefaultChannelId);
}//static function loadChannels($cmbChannel, $config)
}//class PEAR_Frontend_Gtk2_Channels
Documentation generated on Mon, 11 Mar 2019 15:46:46 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|