PaymethodPlugin Class Reference
[Plugins]

Abstract class for paymethod plugins. More...

Inheritance diagram for PaymethodPlugin:

Plugin ManualPaymentPlugin PayPalPlugin

List of all members.

Public Member Functions

 _smartyDisplayPaymentSettingsForm ($hookName, $args)
 getDescription ()
 getName ()
 getTemplatePath ()
 handle ($args)
 PaymethodPlugin ()
 register ($category, $path)


Detailed Description

Abstract class for paymethod plugins.

Definition at line 18 of file PaymethodPlugin.inc.php.


Member Function Documentation

PaymethodPlugin._smartyDisplayPaymentSettingsForm ( hookName,
args 
)

This is a hook wrapper that is responsible for calling displayPaymentSettingsForm. Subclasses should override displayPaymentSettingsForm as necessary.

Definition at line 78 of file PaymethodPlugin.inc.php.

References getName().

PaymethodPlugin.getDescription (  ) 

Get a description of this plugin.

Reimplemented from Plugin.

Reimplemented in ManualPaymentPlugin, and PayPalPlugin.

Definition at line 54 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).

Returns:
String name of plugin

Reimplemented from Plugin.

Reimplemented in ManualPaymentPlugin, and PayPalPlugin.

Definition at line 47 of file PaymethodPlugin.inc.php.

Referenced by _smartyDisplayPaymentSettingsForm().

PaymethodPlugin.getTemplatePath (  ) 

Get the Template path for this plugin.

Reimplemented from Plugin.

Definition at line 61 of file PaymethodPlugin.inc.php.

Referenced by PayPalPlugin.displayPaymentForm().

PaymethodPlugin.handle ( args  ) 

Handle an incoming request from a user callback or an external payment processing system.

Reimplemented in PayPalPlugin.

Definition at line 101 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.

Parameters:
$category String Name of category plugin was registered to
$path String The path the plugin was found in
Returns:
boolean True iff plugin initialized successfully; if false, the plugin will not be registered.

Reimplemented from Plugin.

Reimplemented in ManualPaymentPlugin, and PayPalPlugin.

Definition at line 33 of file PaymethodPlugin.inc.php.

References HookRegistry.register().


The documentation for this class was generated from the following file:

Generated on Mon Jul 14 10:55:44 2008 for Open Journal Systems by  doxygen 1.5.6