Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
PayPalPlugin Class Reference
Inheritance diagram for PayPalPlugin:
PaymethodPlugin Plugin

Public Member Functions

 displayPaymentForm ($queuedPaymentId, &$queuedPayment, $request)
 
 displayPaymentSettingsForm (&$params, &$smarty)
 
 getDescription ()
 
 getDisplayName ()
 
 getInstallEmailTemplateDataFile ()
 
 getInstallEmailTemplatesFile ()
 
 getInstallSchemaFile ()
 
 getName ()
 
 getSettingsFormFieldNames ()
 
 handle ($args, $request)
 
 isConfigured ()
 
 isCurlInstalled ()
 
 PayPalPlugin ()
 
 register ($category, $path)
 
- Public Member Functions inherited from PaymethodPlugin
 displayPaymentForm ($queuedPaymentId, $key, &$queuedPayment, $request)
 
 displayPaymentSettingsForm (&$params, &$smarty)
 
 getDescription ()
 
 getName ()
 
 getSettingsFormFieldNames ()
 
 getTemplatePath ($inCore=false)
 
 handle ($args, $request)
 
 isConfigured ()
 
 PaymethodPlugin ()
 
- Public Member Functions inherited from Plugin
 _getContextSpecificInstallationHook ()
 
 addLocaleData ($locale=null)
 
 getCategory ()
 
 getContextSpecificPluginSettingsFile ()
 
 getContextSpecificSetting ($context, $name)
 
 getCurrentVersion ()
 
 getDescription ()
 
 getDisplayName ()
 
 getHideManagement ()
 
 getInstallDataFile ()
 
 getInstallEmailTemplateDataFile ()
 
 getInstallEmailTemplatesFile ()
 
 getInstallFilterConfigFiles ()
 
 getInstallSchemaFile ()
 
 getInstallSitePluginSettingsFile ()
 
 getLocaleFilename ($locale)
 
 getManagementVerbLinkAction ($request, $verb)
 
 getManagementVerbs ()
 
 getName ()
 
 getPluginPath ()
 
getRequest ()
 
 getSeq ()
 
 getSetting ($contextId, $name)
 
 getSettingMainContext ()
 
 getTemplatePath ($inCore=false)
 
 import ($class)
 
 installContextSpecificSettings ($hookName, $args)
 
 installData ($hookName, $args)
 
 installEmailTemplateData ($hookName, $args)
 
 installEmailTemplates ($hookName, $args)
 
 installFilters ($hookName, $args)
 
 installLocale ($hookName, $args)
 
 installSiteSettings ($hookName, $args)
 
 isSitePlugin ()
 
 manage ($verb, $args, &$message, &$messageParams, &$pluginModalContent=null)
 
 Plugin ()
 
 register ($category, $path)
 
 smartyPluginUrl ($params, &$smarty)
 
 updateContextSpecificSetting ($context, $name, $value, $type=null)
 
 updateSchema ($hookName, $args)
 
 updateSetting ($contextId, $name, $value, $type=null)
 

Additional Inherited Members

- Public Attributes inherited from Plugin
 $pluginCategory
 
 $pluginPath
 
 $request
 

Detailed Description

PayPal Paymethod plugin class.

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

Member Function Documentation

PayPalPlugin::displayPaymentForm (   $queuedPaymentId,
$queuedPayment,
  $request 
)

Display the payment form

Parameters
$queuedPaymentIdint
$queuedPaymentQueuedPayment
$requestPKPRequest

Definition at line 118 of file PayPalPlugin.inc.php.

References Plugin\$request, AppLocale\getLocale(), getName(), Plugin\getSetting(), PaymethodPlugin\getTemplatePath(), Config\getVar(), isConfigured(), AppLocale\requireComponents(), and String\substr().

PayPalPlugin::displayPaymentSettingsForm ( $params,
$smarty 
)

Display the settings form

Parameters
$paramsarray
$smartySmarty

Definition at line 107 of file PayPalPlugin.inc.php.

References isCurlInstalled().

PayPalPlugin::getDescription ( )

Get a description of the plugin

Returns
String

Definition at line 46 of file PayPalPlugin.inc.php.

PayPalPlugin::getDisplayName ( )

Get the Plugin's display name

Returns
String

Definition at line 38 of file PayPalPlugin.inc.php.

PayPalPlugin::getInstallEmailTemplateDataFile ( )
See Also
getInstallEmailTemplateDataFile

Definition at line 346 of file PayPalPlugin.inc.php.

References Plugin\getPluginPath().

PayPalPlugin::getInstallEmailTemplatesFile ( )
See Also
getIntsallEmailTemplatesFile

Definition at line 339 of file PayPalPlugin.inc.php.

References Plugin\getPluginPath().

PayPalPlugin::getInstallSchemaFile ( )
See Also
Plugin::getInstallSchemaFile

Definition at line 332 of file PayPalPlugin.inc.php.

References Plugin\getPluginPath().

PayPalPlugin::getName ( )

Get the Plugin's internal name

Returns
String

Definition at line 30 of file PayPalPlugin.inc.php.

Referenced by displayPaymentForm().

PayPalPlugin::getSettingsFormFieldNames ( )

Get an array of the fields in the settings form

Returns
array

Definition at line 70 of file PayPalPlugin.inc.php.

Referenced by isConfigured().

PayPalPlugin::handle (   $args,
  $request 
)

Handle incoming requests/notifications

Parameters
$argsarray
$requestPKPRequest

Definition at line 156 of file PayPalPlugin.inc.php.

References Plugin\$request, DAORegistry\getDAO(), Plugin\getRequest(), Plugin\getSetting(), and PKPHandler\setupTemplate().

PayPalPlugin::isConfigured ( )

Check if plugin is configured and ready for use

Returns
bool

Definition at line 86 of file PayPalPlugin.inc.php.

References Plugin\$request, Plugin\getRequest(), Plugin\getSetting(), getSettingsFormFieldNames(), and isCurlInstalled().

Referenced by displayPaymentForm().

PayPalPlugin::isCurlInstalled ( )

return if required Curl is installed

Returns
bool

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

Referenced by displayPaymentSettingsForm(), and isConfigured().

PayPalPlugin::PayPalPlugin ( )

Constructor

Definition at line 22 of file PayPalPlugin.inc.php.

PayPalPlugin::register (   $category,
  $path 
)

Register plugin

Returns
bool

Definition at line 54 of file PayPalPlugin.inc.php.

References Plugin\addLocaleData(), Config\getVar(), and DAORegistry\registerDAO().


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