class SqlQueryForm

PhpMyAdmin\SqlQueryForm class

Methods

string
getHtml(boolean|string $query = true, boolean|string $display_tab = false, string $delimiter = ';')

return HTML for the sql query boxes

array
init(string $query)

Get initial values for Sql Query Form Insert

string
getHtmlForInsert(string $query = '', string $delimiter = ';')

return HTML for Sql Query Form Insert

string|null
getHtmlForBookmark()

return HTML for sql Query Form Bookmark

Details

at line 42
string getHtml(boolean|string $query = true, boolean|string $display_tab = false, string $delimiter = ';')

return HTML for the sql query boxes

Parameters

boolean|string $query query to display in the textarea or true to display last executed
boolean|string $display_tab sql|full|false what part to display false if not inside querywindow
string $delimiter delimiter

Return Value

string

at line 129
array init(string $query)

Get initial values for Sql Query Form Insert

Parameters

string $query query to display in the textarea

Return Value

array ($legend, $query, $columns_list)

at line 203
string getHtmlForInsert(string $query = '', string $delimiter = ';')

return HTML for Sql Query Form Insert

Parameters

string $query query to display in the textarea
string $delimiter default delimiter to use

Return Value

string

at line 387
string|null getHtmlForBookmark()

return HTML for sql Query Form Bookmark

Return Value

string|null