PHP Class PayPalPlugin, ojs

Inheritance: extends PaymethodPlugin
Mostra file Open project: pkp/ojs

Public Methods

Method Description
__construct ( ) Constructor
displayPaymentForm ( $queuedPaymentId, $queuedPayment, $request ) Display the payment form
displayPaymentSettingsForm ( &$params, &$smarty ) Display the settings form
getDescription ( ) : String Get a description of the plugin
getDisplayName ( ) : String Get the Plugin's display name
getInstallEmailTemplateDataFile ( )
getInstallEmailTemplatesFile ( )
getInstallSchemaFile ( )
getName ( ) : String Get the Plugin's internal name
getSettingsFormFieldNames ( ) : array Get an array of the fields in the settings form
handle ( $args, $request ) Handle incoming requests/notifications
isConfigured ( ) : boolean Check if plugin is configured and ready for use
isCurlInstalled ( ) : boolean return if required Curl is installed
register ( $category, $path ) : boolean Register plugin

Method Details

__construct() public method

Constructor
public __construct ( )

displayPaymentForm() public method

Display the payment form
public displayPaymentForm ( $queuedPaymentId, $queuedPayment, $request )
$queuedPaymentId int
$queuedPayment QueuedPayment
$request PKPRequest

displayPaymentSettingsForm() public method

Display the settings form
public displayPaymentSettingsForm ( &$params, &$smarty )
$params
$smarty Smarty

getDescription() public method

Get a description of the plugin
public getDescription ( ) : String
return String

getDisplayName() public method

Get the Plugin's display name
public getDisplayName ( ) : String
return String

getInstallEmailTemplateDataFile() public method

See also: getInstallEmailTemplateDataFile

getInstallEmailTemplatesFile() public method

See also: getIntsallEmailTemplatesFile

getInstallSchemaFile() public method

See also: Plugin::getInstallSchemaFile

getName() public method

Get the Plugin's internal name
public getName ( ) : String
return String

getSettingsFormFieldNames() public method

Get an array of the fields in the settings form
public getSettingsFormFieldNames ( ) : array
return array

handle() public method

Handle incoming requests/notifications
public handle ( $args, $request )
$args array
$request PKPRequest

isConfigured() public method

Check if plugin is configured and ready for use
public isConfigured ( ) : boolean
return boolean

isCurlInstalled() public method

return if required Curl is installed
public isCurlInstalled ( ) : boolean
return boolean

register() public method

Register plugin
public register ( $category, $path ) : boolean
return boolean