Bearsampp 2026.3.26
API documentation
Loading...
Searching...
No Matches
class.action.debugMysql.php
Go to the documentation of this file.
1<?php
2/*
3 * Copyright (c) 2021-2024 Bearsampp
4 * License: GNU General Public License version 3 or later; see LICENSE.txt
5 * Author: Bear
6 * Website: https://bearsampp.com
7 * Github: https://github.com/Bearsampp
8 */
9
17{
23 protected function getServiceLangConstant()
24 {
25 return 'MYSQL';
26 }
27
34 protected function getBinInstance($bearsamppBins)
35 {
36 return $bearsamppBins->getMysql();
37 }
38
44 protected function getCommandMapping()
45 {
46 return [
49 'editor' => false
50 ],
53 'editor' => true
54 ],
57 'editor' => false,
58 'syntaxCheck' => true
59 ]
60 ];
61 }
62}
global $bearsamppBins
getBinInstance($bearsamppBins)
const CMD_SYNTAX_CHECK
const CMD_VERSION
const CMD_VARIABLES
const DEBUG_MYSQL_SYNTAX_CHECK
const DEBUG_MYSQL_VERSION
const DEBUG_MYSQL_VARIABLES