class SqlQueryForm (View source)

PhpMyAdmin\SqlQueryForm class

Methods

__construct(Template $template, DatabaseInterface $dbi, BookmarkRepository $bookmarkRepository)

No description

string
getHtml(string $db, string $table, bool|string $query = true, bool|string $displayTab = false, string $delimiter = ';')

return HTML for the sql query boxes

array
init(string $query)

Get initial values for Sql Query Form Insert

Details

__construct(Template $template, DatabaseInterface $dbi, BookmarkRepository $bookmarkRepository)

No description

Parameters

Template $template
DatabaseInterface $dbi
BookmarkRepository $bookmarkRepository

string getHtml(string $db, string $table, bool|string $query = true, bool|string $displayTab = false, string $delimiter = ';')

return HTML for the sql query boxes

Parameters

string $db
string $table
bool|string $query

query to display in the textarea or true to display last executed

bool|string $displayTab

sql|full|false what part to display false if not inside querywindow

string $delimiter delimiter

Return Value

string

array init(string $query)

Get initial values for Sql Query Form Insert

Parameters

string $query

query to display in the textarea

Return Value

array