You are here

function pay_method::set_valid_actions in Pay 6

Same name and namespace in other branches
  1. 7 includes/handlers/pay_method.inc \pay_method::set_valid_actions()

Modify the list of payment actions that are valid for a given pay_form.

Parameters

$pay_form: A payment form that may use this payment method.

$actions: An array of default actions, passed by reference. Modify or augment this as needed.

1 method overrides pay_method::set_valid_actions()
pay_method_direct::set_valid_actions in includes/handlers/pay_method_direct.inc
Augment the available payment actions for transactions that include direct payment methods.

File

includes/handlers/pay_method.inc, line 45
The base class for payment activities. All payment method classes should extend this class.

Class

pay_method
@file The base class for payment activities. All payment method classes should extend this class.

Code

function set_valid_actions($pay_form, &$actions) {
}