Property | Type | Description | |
---|---|---|---|
$fieldsets | |||
$logger | WC_Connect_Logger | ||
$payment_methods_store | WC_Connect_Payment_Methods_Store | ||
$service_schemas_store | WC_Connect_Service_Schemas_Store | ||
$service_settings_store | WC_Connect_Service_Settings_Store |
Method | Description | |
---|---|---|
__construct ( WC_Connect_Payment_Methods_Store $payment_methods_store, WC_Connect_Service_Settings_Store $service_settings_store, WC_Connect_Service_Schemas_Store $service_schemas_store, WC_Connect_Logger $logger ) | ||
get_form_data ( ) | Mutate-able settings bootstrapped to the view -- should be identical to what is returned by the WC_REST_Connect_Settings_Controller GET /connect/settings endpoint (see callbackURL below) | |
get_form_meta ( ) | Things used to help render the view, but which cannot be changed in the view | |
get_packages_form_data ( ) | ||
get_packages_form_schema ( ) | ||
get_sections ( ) : array | Get sections. | |
output_account_screen ( ) | Localizes the bootstrap, enqueues the script and styles for the settings page | |
output_packages_screen ( ) | ||
output_section_tabs ( ) | Outputs the section tabs. Based on WC_Settings_Page::output_sections. | |
output_settings_screen ( ) | Output the settings. | |
tabs ( array $tabs ) : array | Filters the tabs to add connect |
public __construct ( WC_Connect_Payment_Methods_Store $payment_methods_store, WC_Connect_Service_Settings_Store $service_settings_store, WC_Connect_Service_Schemas_Store $service_schemas_store, WC_Connect_Logger $logger ) | ||
$payment_methods_store | WC_Connect_Payment_Methods_Store | |
$service_settings_store | WC_Connect_Service_Settings_Store | |
$service_schemas_store | WC_Connect_Service_Schemas_Store | |
$logger | WC_Connect_Logger |
public get_form_data ( ) |
public get_form_meta ( ) |
public output_account_screen ( ) |
public output_section_tabs ( ) |
protected WC_Connect_Payment_Methods_Store $payment_methods_store | ||
return | WC_Connect_Payment_Methods_Store |
protected WC_Connect_Service_Schemas_Store $service_schemas_store | ||
return | WC_Connect_Service_Schemas_Store |