class RelationController extends AbstractController

Display table relations for viewing and editing.

Includes phpMyAdmin relations and InnoDB relations.

Properties

protected Response $response from AbstractController
protected DatabaseInterface $dbi from AbstractController
protected Template $template from AbstractController
protected string $db from AbstractController
protected string $table from AbstractController

Methods

__construct(Response $response, DatabaseInterface $dbi, Template $template, string $db, string $table, Relation $relation)

No description

void
index()

Index

void
getDropdownValueForTable()

Send table columns for foreign table dropdown

void
getDropdownValueForDatabase(string $storageEngine)

Send database selection values for dropdown

Details

at line 43
__construct(Response $response, DatabaseInterface $dbi, Template $template, string $db, string $table, Relation $relation)

Parameters

Response $response Response object
DatabaseInterface $dbi DatabaseInterface object
Template $template Template that should be used
string $db Database name
string $table Table name
Relation $relation Relation instance

at line 58
void index()

Index

Return Value

void

at line 310
void getDropdownValueForTable()

Send table columns for foreign table dropdown

Return Value

void

at line 344
void getDropdownValueForDatabase(string $storageEngine)

Send database selection values for dropdown

Parameters

string $storageEngine Storage engine.

Return Value

void