function pay_form::pay_method_list in Pay 6
Same name and namespace in other branches
- 7 includes/handlers/pay_form.inc \pay_form::pay_method_list()
1 call to pay_form::pay_method_list()
- pay_form::settings_form in includes/
handlers/ pay_form.inc
File
- includes/
handlers/ pay_form.inc, line 116 - The base class for payment activities. All payment form classes should extend this.
Class
- pay_form
- @file The base class for payment activities. All payment form classes should extend this.
Code
function pay_method_list() {
$list = array();
$res = db_query("SELECT * FROM {pay_method} WHERE STATUS = 1 ORDER BY title");
while ($row = db_fetch_object($res)) {
$list[$row->pmid] = $row->title;
}
return $list;
}