You are here

function pay_form::set_currency in Pay 7

Same name and namespace in other branches
  1. 6 includes/handlers/pay_form.inc \pay_form::set_currency()

Set the currency for this payment form.

1 call to pay_form::set_currency()
pay_form::currency in includes/handlers/pay_form.inc

File

includes/handlers/pay_form.inc, line 96
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 set_currency($value = NULL) {
  if (!$value) {
    $value = variable_get('pay_currency', NULL);
  }
  $this->currency = $value;
}