$value = join($value, ', ');
                }
                $instance_sub_table->Update_table($DBHandle, "configuration_value = '" . $value . "'", "configuration_key = '" . $key . "'");
            }
            tep_redirect("A2B_entity_payment_settings.php?" . 'method=' . $paymentMethod . "&id=" . $id . "&result=success");
            break;
    }
}
$payment_modules = new payment($paymentMethod);
$GLOBALS['paypal']->enabled = true;
$GLOBALS['moneybookers']->enabled = true;
$GLOBALS['authorizenet']->enabled = true;
$GLOBALS['worldpay']->enabled = true;
$GLOBALS['plugnpay']->enabled = true;
//$GLOBALS['iridium']->enabled = true;
$module_keys = $payment_modules->keys();
$keys_extra = array();
$instance_sub_table = new Table("cc_configuration", "configuration_title, configuration_value, configuration_description, use_function, set_function");
for ($j = 0, $k = sizeof($module_keys); $j < $k; $j++) {
    $QUERY_CLAUSE = " configuration_key = '" . $module_keys[$j] . "'";
    $key_value = $instance_sub_table->Get_list($DBHandle, $QUERY_CLAUSE, 0);
    $keys_extra[$module_keys[$j]]['title'] = $key_value[0]['configuration_title'];
    $keys_extra[$module_keys[$j]]['value'] = $key_value[0]['configuration_value'];
    $keys_extra[$module_keys[$j]]['description'] = $key_value[0]['configuration_description'];
    $keys_extra[$module_keys[$j]]['use_function'] = $key_value[0]['use_function'];
    $keys_extra[$module_keys[$j]]['set_function'] = $key_value[0]['set_function'];
}
$module_info['keys'] = $keys_extra;
$mInfo = new objectInfo($module_info);
$keys = '';
reset($mInfo->keys);