class SqlController extends AbstractController

Server SQL executor

Properties

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

Methods

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

AbstractController constructor.

string
index(SqlQueryForm $sqlQueryForm)

No description

Details

in AbstractController at line 44
__construct(Response $response, DatabaseInterface $dbi, Template $template)

AbstractController constructor.

Parameters

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

at line 25
string index(SqlQueryForm $sqlQueryForm)

Parameters

SqlQueryForm $sqlQueryForm SqlQueryForm instance

Return Value

string HTML