class DesignerTable (View source)

Common functions for Designer

Methods

__construct(string $databaseName, string $tableName, string $tableEngine, string|null $displayField)

Create a new DesignerTable

bool
supportsForeignkeys()

The table engine supports or not foreign keys

string
getDatabaseName()

Get the database name

string
getTableName()

Get the table name

string
getTableEngine()

Get the table engine

string|null
getDisplayField()

Get the displayed field

string
getDbTableString()

Get the db and table separated with a dot

Details

__construct(string $databaseName, string $tableName, string $tableEngine, string|null $displayField)

Create a new DesignerTable

Parameters

string $databaseName

The database name

string $tableName

The table name

string $tableEngine

The table engine

string|null $displayField

The display field if available

bool supportsForeignkeys()

The table engine supports or not foreign keys

Return Value

bool

string getDatabaseName()

Get the database name

Return Value

string

string getTableName()

Get the table name

Return Value

string

string getTableEngine()

Get the table engine

Return Value

string

string|null getDisplayField()

Get the displayed field

Return Value

string|null

string getDbTableString()

Get the db and table separated with a dot

Return Value

string