ClassesBigCommerceSchemaQueue Table

Queue_Table

Class Queue_Table

Constants

ConstantVisibilityTypeValue
NAMEpublic’bc_queue’
STATUS_DONEpublic1
STATUS_NEWpublic0

Properties

schema_version

protected $schema_version

tables

protected array $tables

Methods

get_table_definition

protected get_table_definition(mixed $table): string

Parameters:

ParameterTypeDescription
$tablemixedThe name of the table

Return Value:

The CREATE TABLE statement, suitable for passing to dbDelta


Inherited methods

schema_update_required

Determine if the database schema is out of date by comparing the integer found in $this->schema_version with the option set in the WordPress options table

protected schema_update_required(): bool

mark_schema_update_complete

Update the option in WordPress to indicate that our schema is now up to date

protected mark_schema_update_complete(): void

register_tables

Register tables with WordPress, and create them if needed

public register_tables(): void

get_table_definition

protected get_table_definition(string $table): string
  • This method is abstract.

Parameters:

ParameterTypeDescription
$tablestringThe name of the table

Return Value:

The CREATE TABLE statement, suitable for passing to dbDelta


get_full_table_name

protected get_full_table_name(string $table): string

Parameters:

ParameterTypeDescription
$tablestring

Return Value:

The full name of the table, including the table prefix for the current blog



Automatically generated on 2025-01-21