final class SearchController implements InvocableController (View source)

Handles table search tab.

Display table search form, create SQL query from form data and call Sql::executeQueryAndSendQueryResponse() to execute it.

Methods

__construct(ResponseRenderer $response, Template $template, Search $search, Relation $relation, DatabaseInterface $dbi, DbTableExists $dbTableExists)

No description

__invoke(ServerRequest $request)

Index action

Details

__construct(ResponseRenderer $response, Template $template, Search $search, Relation $relation, DatabaseInterface $dbi, DbTableExists $dbTableExists)

No description

Parameters

ResponseRenderer $response
Template $template
Search $search
Relation $relation
DatabaseInterface $dbi
DbTableExists $dbTableExists

Response __invoke(ServerRequest $request)

Index action

Parameters

ServerRequest $request

Return Value

Response