Abort_Import
- Full name:
\BigCommerce\Settings\Abort_Import
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
ABORT_IMPORT_OPTION | public | ’bigcommerce_abort_import_option’ |
Properties
screen_settings
protected $screen_settings
Methods
__construct
public __construct(mixed $screen_settings): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$screen_settings | mixed |
abort
Abort import process, make cleanup and set self::ABORT_IMPORT_OPTION option in order to detect on next stages that import was aborted
public abort(\BigCommerce\Import\Processors\Cleanup $cleanup): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$cleanup | \BigCommerce\Import\Processors\Cleanup |
Inherited methods
get_option
protected get_option(string $option, bool $default = false): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$option | string | |
$default | bool |
update_option
protected update_option(string $option, mixed $value, bool $autoload = false): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$option | string | |
$value | mixed | |
$autoload | bool |
add_option
protected add_option(string $option, mixed $value, bool $autoload = false): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$option | string | |
$value | mixed | |
$autoload | bool |
delete_option
protected delete_option(string $option): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$option | string |
Automatically generated on 2025-01-21