ClassesBigCommerceSettingsConnection Status

Connection_Status

  • Full name: \BigCommerce\Settings\Connection_Status

Constants

ConstantVisibilityTypeValue
STATUS_CACHEpublic’bigcommerce_connection_status’
STATUS_CACHE_TTLpublic60

Methods

__construct

Connection_Status constructor.

public __construct(\BigCommerce\Api\v3\Api\CatalogApi $client, bool $configuration_status): mixed

Parameters:

ParameterTypeDescription
$client\BigCommerce\Api\v3\Api\CatalogApi
$configuration_statusboolWhether API configuration settings are fully in place

register_field

public register_field(): mixed

render_status

public render_status(): mixed

credentials_required_notice

Display a notice if all required credentials are not set.

public credentials_required_notice(\BigCommerce\Settings\Screens\Abstract_Screen $target_screen, string[] $excluded_screens = []): void

Parameters:

ParameterTypeDescription
$target_screen\BigCommerce\Settings\Screens\Abstract_ScreenSettings screen the link will point to
$excluded_screensstring[]Settings screen IDs that should not show the notice

flush_status_cache

public flush_status_cache(): void


Automatically generated on 2025-01-21