Open Monograph Press  3.3.0
PaypalPaymentForm Class Reference
Inheritance diagram for PaypalPaymentForm:
Form

Public Member Functions

 __construct ($paypalPaymentPlugin, $queuedPayment)
 
 display ($request=null, $template=null)
 
- Public Member Functions inherited from Form
 __construct ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null)
 
 _decomposeArray ($name, $value, $stack)
 
 addCheck ($formValidator)
 
 addError ($field, $message)
 
 addErrorField ($field)
 
 addSupportedFormLocale ($supportedLocale)
 
 execute (... $functionArgs)
 
 fetch ($request, $template=null, $display=false)
 
 getData ($key)
 
 getDefaultFormLocale ()
 
 getErrorsArray ()
 
 getLocaleFieldNames ()
 
 getRequiredLocale ()
 
 getTemplate ()
 
 initData ()
 
 isValid ()
 
 readInputData ()
 
 readUserVars ($vars)
 
 setData ($key, $value=null)
 
 setDefaultFormLocale ($defaultLocale)
 
 setTemplate ($template)
 
 validate ($callHooks=true)
 

Data Fields

 $_paypalPaymentPlugin
 
 $_queuedPayment
 
- Data Fields inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $defaultLocale
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 
 $requiredLocale
 
 $supportedLocales
 

Detailed Description

Form for Paypal-based payments.

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

Constructor & Destructor Documentation

◆ __construct()

PaypalPaymentForm::__construct (   $paypalPaymentPlugin,
  $queuedPayment 
)
Parameters
$paypalPaymentPluginPaypalPaymentPlugin
$queuedPaymentQueuedPayment

Definition at line 35 of file PaypalPaymentForm.inc.php.

Member Function Documentation

◆ display()

PaypalPaymentForm::display (   $request = null,
  $template = null 
)

Display the form.

Parameters
$requestPKPRequest
$templatestring the template to be rendered, mandatory if no template has been specified on class instantiation.

Reimplemented from Form.

Definition at line 44 of file PaypalPaymentForm.inc.php.

References PKPTemplateManager\getManager(), and Application\getPaymentManager().

Field Documentation

◆ $_paypalPaymentPlugin

PaypalPaymentPlugin PaypalPaymentForm::$_paypalPaymentPlugin

Definition at line 23 of file PaypalPaymentForm.inc.php.

◆ $_queuedPayment

QueuedPayment PaypalPaymentForm::$_queuedPayment

Definition at line 29 of file PaypalPaymentForm.inc.php.


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