class SqlController extends AbstractController

Table SQL executor

Properties

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

Methods

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

Constructor

string
index(array $params, SqlQueryForm $sqlQueryForm)

No description

Details

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

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
string $table Table name

at line 27
string index(array $params, SqlQueryForm $sqlQueryForm)

Parameters

array $params Request parameters
SqlQueryForm $sqlQueryForm SqlQueryForm instance

Return Value

string HTML