public function PayPalPaymentPPSPaymentMethodController::__construct in PayPal for Payment 7
Constructs a new instance.
File
- paypal_payment_pps/
includes/ PayPalPaymentPPSPaymentMethodController.inc, line 49
Class
- PayPalPaymentPPSPaymentMethodController
- A PayPal Payments Standard payment method.
Code
public function __construct() {
$currency_codes = array(
'AUD',
'BRL',
'CAD',
'CHF',
'CZK',
'DKK',
'EUR',
'GBP',
'HKD',
'HUF',
'ILS',
'JPY',
'MXN',
'MYR',
'NOK',
'NZD',
'PHP',
'PLN',
'SEK',
'SGD',
'THB',
'TRY',
'TWD',
'USD',
);
$this->currencies = array_fill_keys($currency_codes, array());
$this->title = 'PayPal Payments Standard';
}