class MultiTableQueryController extends AbstractController

Handles database multi-table querying

Properties

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

Methods

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

AbstractController constructor.

string
index(Template $template)

No description

void
displayResults(array $params)

No description

array
table(array $params)

No description

Details

in AbstractController at line 36
__construct(Response $response, DatabaseInterface $dbi, Template $template, string $db)

AbstractController constructor.

Parameters

Response $response Response object
DatabaseInterface $dbi DatabaseInterface object
Template $template Template that should be used (if provided, default one otherwise)
string $db Database name

at line 25
string index(Template $template)

Parameters

Template $template Templace instance

Return Value

string HTML

at line 36
void displayResults(array $params)

Parameters

array $params Request parameters

Return Value

void

at line 51
array table(array $params)

Parameters

array $params Request parameters

Return Value

array JSON