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()

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
string $db Database name

at line 23
string index()

Return Value

string

at line 40
void displayResults(array $params)

Parameters

array $params Request parameters

Return Value

void

at line 55
array table(array $params)

Parameters

array $params Request parameters

Return Value

array JSON