Queue_Table
Class Queue_Table
- Full name:
\BigCommerce\Schema\Queue_Table
- Parent class:
\BigCommerce\Schema\Table_Maker
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
NAME | public | ’bc_queue’ | |
STATUS_DONE | public | 1 | |
STATUS_NEW | public | 0 |
Properties
schema_version
protected $schema_version
tables
protected array $tables
Methods
get_table_definition
protected get_table_definition(mixed $table): string
Parameters:
Parameter | Type | Description |
---|---|---|
$table | mixed | The 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:
Parameter | Type | Description |
---|---|---|
$table | string | The 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:
Parameter | Type | Description |
---|---|---|
$table | string |
Return Value:
The full name of the table, including the table prefix for the current blog
Automatically generated on 2025-01-21