Inheritance diagram for PaymethodPlugin:
Public Member Functions | |
_smartyDisplayPaymentSettingsForm ($hookName, $args) | |
displayPaymentForm ($queuedPaymentId, $key, &$queuedPayment) | |
displayPaymentSettingsForm (&$params, &$smarty) | |
getDescription () | |
getName () | |
getSettingsFormFieldNames () | |
getTemplatePath () | |
handle ($args) | |
isConfigured () | |
PaymethodPlugin () | |
register ($category, $path) |
Definition at line 18 of file PaymethodPlugin.inc.php.
PaymethodPlugin._smartyDisplayPaymentSettingsForm | ( | $ | hookName, | |
$ | args | |||
) |
This is a hook wrapper that is responsible for calling displayPaymentSettingsForm. Subclasses should override displayPaymentSettingsForm as necessary.
Definition at line 79 of file PaymethodPlugin.inc.php.
References displayPaymentSettingsForm(), and getName().
Referenced by register().
PaymethodPlugin.getDescription | ( | ) |
Get a description of this plugin.
Reimplemented in ManualPaymentPlugin, and PayPalPlugin.
Definition at line 55 of file PaymethodPlugin.inc.php.
PaymethodPlugin.getName | ( | ) |
Get the name of this plugin. The name must be unique within its category, and should be suitable for part of a filename (ie short, no spaces, and no dependencies on cases being unique).
Reimplemented in ManualPaymentPlugin, and PayPalPlugin.
Definition at line 48 of file PaymethodPlugin.inc.php.
Referenced by _smartyDisplayPaymentSettingsForm().
PaymethodPlugin.getTemplatePath | ( | ) |
Get the Template path for this plugin.
Reimplemented from Plugin.
Definition at line 62 of file PaymethodPlugin.inc.php.
Referenced by PayPalPlugin.displayPaymentForm(), ManualPaymentPlugin.displayPaymentForm(), and displayPaymentSettingsForm().
PaymethodPlugin.handle | ( | $ | args | ) |
Handle an incoming request from a user callback or an external payment processing system.
Reimplemented in ManualPaymentPlugin, and PayPalPlugin.
Definition at line 102 of file PaymethodPlugin.inc.php.
References Request.redirect().
PaymethodPlugin.PaymethodPlugin | ( | ) |
Constructor
Definition at line 22 of file PaymethodPlugin.inc.php.
PaymethodPlugin.register | ( | $ | category, | |
$ | path | |||
) |
Called as a plugin is registered to the registry. Subclasses over- riding this method should call the parent method first.
$category | String Name of category plugin was registered to | |
$path | String The path the plugin was found in |
Reimplemented from Plugin.
Reimplemented in ManualPaymentPlugin, and PayPalPlugin.
Definition at line 34 of file PaymethodPlugin.inc.php.
References _smartyDisplayPaymentSettingsForm().