You are here

public function PayPalPaymentECPaymentMethodController::__construct in PayPal for Payment 7

Constructs a new instance.

File

paypal_payment_ec/includes/PayPalPaymentECPaymentMethodController.inc, line 67

Class

PayPalPaymentECPaymentMethodController
A PayPal Express Checkout payment method.

Code

public function __construct() {
  $currency_codes = array(
    'AUD',
    'CAD',
    'CHF',
    'CZK',
    'DKK',
    'EUR',
    'GBP',
    'HKD',
    'HUF',
    'JPY',
    'NOK',
    'NZD',
    'PLN',
    'SEK',
    'SGD',
    'USD',
  );
  $this->currencies = array_fill_keys($currency_codes, array());
  $this->title = 'PayPal Express Checkout';
}