Свойство | Тип | Описание | |
---|---|---|---|
$fieldsets | |||
$logger | WC_Connect_Logger | ||
$service_schemas_store | WC_Connect_Service_Schemas_Store | ||
$service_settings_store | WC_Connect_Service_Settings_Store |
Метод | Описание | |
---|---|---|
__construct ( WC_Connect_Service_Schemas_Store $service_schemas_store, WC_Connect_Service_Settings_Store $service_settings_store, WC_Connect_Logger $logger ) | ||
page ( ) | Localizes the bootstrap, enqueues the script and styles for the help page | |
status_tabs ( array $tabs ) : array | Filters the WooCommerce System Status Tabs to add connect |
Метод | Описание | |
---|---|---|
add_fieldset ( $section_slug, $title, $items ) | ||
build_indicator ( $id, $icon, $class, $message, $last_updated ) | ||
get_debug_items ( ) | ||
get_debug_log_data ( ) | Gets the last 10 lines from the Connect for WooCommerce log, if it exists | |
get_form_data ( ) : array | Returns the data bootstrap for the help page | |
get_form_layout ( ) : array | Returns the form layout array for the entire help page Iterates over $this->fieldsets to build the form layout | |
get_form_schema ( ) : object | Returns the form schema object for the entire help page | |
get_health_items ( ) | ||
get_indicator_schema ( ) | ||
get_services_items ( ) | ||
get_support_items ( ) |
public __construct ( WC_Connect_Service_Schemas_Store $service_schemas_store, WC_Connect_Service_Settings_Store $service_settings_store, WC_Connect_Logger $logger ) | ||
$service_schemas_store | WC_Connect_Service_Schemas_Store | |
$service_settings_store | WC_Connect_Service_Settings_Store | |
$logger | WC_Connect_Logger |
protected build_indicator ( $id, $icon, $class, $message, $last_updated ) |
protected get_debug_log_data ( ) |
protected get_form_data ( ) : array | ||
Результат | array |
protected get_form_layout ( ) : array | ||
Результат | array |
protected get_form_schema ( ) : object | ||
Результат | object |
public page ( ) |
public status_tabs ( array $tabs ) : array | ||
$tabs | array | |
Результат | array |
protected WC_Connect_Service_Schemas_Store $service_schemas_store | ||
Результат | WC_Connect_Service_Schemas_Store |