class SqlQueryForm

PhpMyAdmin\SqlQueryForm class

Methods

__construct(Template $template)

No description

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

Details

at line 31
__construct(Template $template)

Parameters

Template $template Template object

at line 54
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 136
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)