本文整理汇总了PHP中payment::keys方法的典型用法代码示例。如果您正苦于以下问题:PHP payment::keys方法的具体用法?PHP payment::keys怎么用?PHP payment::keys使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类payment
的用法示例。
在下文中一共展示了payment::keys方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: join
$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);