class pay_method_custom in Pay 7
Same name and namespace in other branches
- 6 includes/handlers/pay_method_custom.inc \pay_method_custom
@file The base class for manual payment activities.
Hierarchy
- class \pay
- class \pay_method
- class \pay_method_custom
- class \pay_method
Expanded class hierarchy of pay_method_custom
File
- includes/
handlers/ pay_method_custom.inc, line 7 - The base class for manual payment activities.
View source
class pay_method_custom extends pay_method {
function settings_form(&$form, &$form_state) {
parent::settings_form($form, $form_state);
// Eliminate the 'authorized' option from the settings.
$group = $this
->handler();
unset($form[$group]['pay_form_action']['#options']['authorize']);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
pay:: |
property | |||
pay:: |
function | |||
pay:: |
function | Execute an named Drupal hook function, passing $this as the first parameter. | ||
pay:: |
function | |||
pay:: |
function | 3 | ||
pay:: |
function | |||
pay:: |
function | 2 | ||
pay:: |
function | 1 | ||
pay:: |
function | |||
pay:: |
function | |||
pay:: |
function | |||
pay:: |
function | 1 | ||
pay:: |
function | |||
pay:: |
function | @todo Please document this function. | ||
pay:: |
function | @todo Please document this function. | ||
pay:: |
function | @todo Please document this function. | 1 | |
pay:: |
function | |||
pay:: |
function | |||
pay:: |
function | |||
pay:: |
function | |||
pay:: |
function | |||
pay:: |
function | |||
pay:: |
function | |||
pay:: |
function | |||
pay:: |
function | |||
pay:: |
function | Do not allow this value to be automatically set. | ||
pay:: |
function | |||
pay:: |
function | |||
pay:: |
function | |||
pay:: |
function | Do not allow this value to be automatically set. | ||
pay:: |
function | |||
pay:: |
function | |||
pay:: |
function | |||
pay:: |
function | |||
pay:: |
function | |||
pay:: |
function | 2 | ||
pay:: |
function | 1 | ||
pay:: |
function | |||
pay:: |
function | |||
pay:: |
function | |||
pay_method:: |
property | |||
pay_method:: |
property | |||
pay_method:: |
property | |||
pay_method:: |
property |
Overrides pay:: |
||
pay_method:: |
property | |||
pay_method:: |
property | |||
pay_method:: |
property | |||
pay_method:: |
property | |||
pay_method:: |
property | |||
pay_method:: |
property | |||
pay_method:: |
property | |||
pay_method:: |
property |
Overrides pay:: |
||
pay_method:: |
property | |||
pay_method:: |
property | |||
pay_method:: |
function | Your payment method should return an array of valid currencies, using 3-digit currency codes. Example: | ||
pay_method:: |
function | Cancel a transaction by marking it as 'canceled'. | 1 | |
pay_method:: |
function | Delete this payment method. | ||
pay_method:: |
function |
Disable this payment method. Overrides pay:: |
||
pay_method:: |
function | @todo Please document this function. | 1 | |
pay_method:: |
function | Set a default description if none is specified. | ||
pay_method:: |
function | Set a default max_amount if none is specified. | ||
pay_method:: |
function | Set a default min_amount if none is specified. | ||
pay_method:: |
function | Set a default title if none is specified. | ||
pay_method:: |
function | Modify the list of payment actions that are valid for a given pay_form. | 1 | |
pay_method:: |
function | Return the total number of transactions that have used this payment method. | ||
pay_method:: |
function | Determine whether an action is valid and appropraite for a transaction. | ||
pay_method_custom:: |
function |
Overrides pay_method:: |