You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-25 06:39:48 +03:00
51 lines
1.0 KiB
PHP
51 lines
1.0 KiB
PHP
<?php
|
|
/**
|
|
* User preferences form
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpMyAdmin\Config\Forms\User;
|
|
|
|
use PhpMyAdmin\Config\Forms\BaseForm;
|
|
|
|
use function __;
|
|
|
|
class SqlForm extends BaseForm
|
|
{
|
|
/**
|
|
* @return array
|
|
*/
|
|
public static function getForms()
|
|
{
|
|
return [
|
|
'Sql_queries' => [
|
|
'ShowSQL',
|
|
'Confirm',
|
|
'QueryHistoryMax',
|
|
'IgnoreMultiSubmitErrors',
|
|
'MaxCharactersInDisplayedSQL',
|
|
'RetainQueryBox',
|
|
'CodemirrorEnable',
|
|
'LintEnable',
|
|
'EnableAutocompleteForTablesAndColumns',
|
|
'DefaultForeignKeyChecks',
|
|
],
|
|
'Sql_box' => [
|
|
'SQLQuery/Edit',
|
|
'SQLQuery/Explain',
|
|
'SQLQuery/ShowAsPHP',
|
|
'SQLQuery/Refresh',
|
|
],
|
|
];
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public static function getName()
|
|
{
|
|
return __('SQL queries');
|
|
}
|
|
}
|