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, SqlQueryForm $sqlQueryForm)

AbstractController constructor.

string
index()

No description

Details

at line 32
__construct(Response $response, DatabaseInterface $dbi, Template $template, SqlQueryForm $sqlQueryForm)

AbstractController constructor.

Parameters

Response $response Response object
DatabaseInterface $dbi DatabaseInterface object
Template $template Template that should be used
SqlQueryForm $sqlQueryForm SqlQueryForm instance

at line 41
string index()

Return Value

string HTML