@@ -17,30 +17,30 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | class PayPalProSettingsForm extends PayPalSettingsForm |
| 19 | 19 | { |
| 20 | - /** |
|
| 21 | - * SettingsForm constructor. |
|
| 22 | - * |
|
| 23 | - * @param array $options_array |
|
| 24 | - * @param string $help_tab_link |
|
| 25 | - */ |
|
| 26 | - public function __construct(array $options_array = array(), $help_tab_link) |
|
| 27 | - { |
|
| 28 | - $options_array = array_replace_recursive( |
|
| 29 | - array( |
|
| 30 | - 'extra_meta_inputs' => array( |
|
| 31 | - 'credit_card_types' => new EE_Checkbox_Multi_Input( |
|
| 32 | - EE_PMT_Paypal_Pro::card_types_supported(), |
|
| 33 | - array( |
|
| 34 | - 'html_label_text' => __('Card Types Supported', 'event_espresso'), |
|
| 35 | - 'required' => true |
|
| 36 | - ) |
|
| 37 | - ), |
|
| 38 | - ) |
|
| 39 | - ), |
|
| 40 | - $options_array |
|
| 41 | - ); |
|
| 42 | - parent::__construct($options_array, $help_tab_link); |
|
| 43 | - } |
|
| 20 | + /** |
|
| 21 | + * SettingsForm constructor. |
|
| 22 | + * |
|
| 23 | + * @param array $options_array |
|
| 24 | + * @param string $help_tab_link |
|
| 25 | + */ |
|
| 26 | + public function __construct(array $options_array = array(), $help_tab_link) |
|
| 27 | + { |
|
| 28 | + $options_array = array_replace_recursive( |
|
| 29 | + array( |
|
| 30 | + 'extra_meta_inputs' => array( |
|
| 31 | + 'credit_card_types' => new EE_Checkbox_Multi_Input( |
|
| 32 | + EE_PMT_Paypal_Pro::card_types_supported(), |
|
| 33 | + array( |
|
| 34 | + 'html_label_text' => __('Card Types Supported', 'event_espresso'), |
|
| 35 | + 'required' => true |
|
| 36 | + ) |
|
| 37 | + ), |
|
| 38 | + ) |
|
| 39 | + ), |
|
| 40 | + $options_array |
|
| 41 | + ); |
|
| 42 | + parent::__construct($options_array, $help_tab_link); |
|
| 43 | + } |
|
| 44 | 44 | } |
| 45 | 45 | // End of file SettingsForm.php |
| 46 | 46 | // Location: EventEspresso/caffeinated/payment_methods/PayPal_Pro/forms/PayPalProSettingsForm.php |