final class RelationController implements InvocableController (View source)

Display table relations for viewing and editing.

Includes phpMyAdmin relations and InnoDB relations.

Methods

__construct(ResponseRenderer $response, Template $template, Relation $relation, DatabaseInterface $dbi)

No description

__invoke(ServerRequest $request)

Index

void
getDropdownValueForTable()

Send table columns for foreign table dropdown

void
getDropdownValueForDatabase(string $storageEngine)

Send database selection values for dropdown

Details

__construct(ResponseRenderer $response, Template $template, Relation $relation, DatabaseInterface $dbi)

No description

Parameters

ResponseRenderer $response
Template $template
Relation $relation
DatabaseInterface $dbi

Response __invoke(ServerRequest $request)

Index

Parameters

ServerRequest $request

Return Value

Response

void getDropdownValueForTable()

Send table columns for foreign table dropdown

Return Value

void

void getDropdownValueForDatabase(string $storageEngine)

Send database selection values for dropdown

Parameters

string $storageEngine

Storage engine.

Return Value

void