function pay_form::total_paid in Pay 6
Same name and namespace in other branches
- 7 includes/handlers/pay_form.inc \pay_form::total_paid()
1 call to pay_form::total_paid()
- pay_form::form_submit in includes/
handlers/ pay_form.inc
File
- includes/
handlers/ pay_form.inc, line 426 - 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 total_paid() {
return (double) db_result(db_query("SELECT SUM(total_paid) as total FROM {pay_transaction} WHERE pfid = %d", $this->pfid));
}