Class PayPalConfigurationController
Class PayPalConfigurationController
- HttpViewController implements HttpViewControllerInterface
- ┗ AdminHttpViewController implements AdminStatusOnlyInterface
- ┗ PayPalConfigurationController
Located at Controllers/HttpView/Admin/PayPalConfigurationController.inc.php
Methods summary
public
__construct( HttpContextReaderInterface $httpContextReader, HttpResponseProcessorInterface $httpResponseProcessor, ContentViewInterface $contentView )
Initialize the Controller with required properties
protected
_getPostData( string $name )
: string|null
adds stripslashes() to parent::_getPostData() to reverse the forced magic quotes introduced by the compatibiliy layer
public
actionDefault( void )
: AdminPageHttpControllerResponse
Run the actionDefault method. This is invoked through admin/admin.php?do=PayPalConfiguration
protected
_isConfigured( void )
determines whether the interface has been configured, i.e. at least one set of credentials (live/sandbox) has been saved
public
actionSelectExperienceProfile( void )
Select Web Payment Experience Profile to use for payments
protected
_prepareValuesArray( $includeExperienceProfiles = false )
Prepare the value array. The array keys are the variable names that are passed to template
Methods inherited from AdminHttpViewController
Methods inherited from HttpViewController
_callActionMethod(),
_getPostDataCollection(),
_getQueryParameter(),
_getQueryParametersCollection(),
_getServerData(),
_render(),
_validatePageToken(),
getTemplateFile(),
proceed()
Constants summary
Properties summary
Properties inherited from HttpViewController
$assets,
$contentView,
$httpContextReader,
$httpResponseProcessor,
$postDataArray,
$queryParametersArray,
$serverDataArray