OXID eShop CE
4.9.6
|
Public Member Functions | |
__construct () | |
getWarnings () |
Protected Member Functions | |
_generateWarningsResult ($aInput) | |
_checkMissingKeys ($sSql) | |
_checkMess ($s1, $s2) | |
_logToFile ($aWarnings) |
Static Protected Member Functions | |
static | _skipWhiteSpace ($sStr) |
static | _isSkipped ($sSql) |
static | _getSqlTemplate ($sSql) |
Private Member Functions | |
_missingKeysChecker ($aExplain) |
Static Private Attributes | |
static | $_aSkipSqls = array() |
class for parsing and retrieving warnings from adodb saved sql table
Definition at line 6 of file oxdebugdb.php.
oxDebugDb::__construct | ( | ) |
Class constructor. The constructor is defined in order to be possible to call parent::__construct() in modules.
Definition at line 19 of file oxdebugdb.php.
|
protected |
return true if statements are similar
string | $s1 | statement one |
string | $s2 | statement two |
Definition at line 232 of file oxdebugdb.php.
|
protected |
check missing keys - use explain return true on warning
string | $sSql | query string |
Definition at line 158 of file oxdebugdb.php.
|
protected |
returns nice formatted array
array | $aInput | messages array |
Definition at line 127 of file oxdebugdb.php.
|
staticprotected |
strips sql down of its values
string | $sSql | sql to process |
Definition at line 260 of file oxdebugdb.php.
|
staticprotected |
Checks if query is already in log file
string | $sSql | sql query to check |
Definition at line 42 of file oxdebugdb.php.
|
protected |
logs warnings to file
array | $aWarnings | warnings |
Definition at line 274 of file oxdebugdb.php.
|
private |
check if remark of explain is not using keys true if not using
array | $aExplain | db explain response array |
Definition at line 185 of file oxdebugdb.php.
|
staticprotected |
Removes special chars (' ', "\t", "\r", "\n") from passed string
string | $sStr | string to cleanup |
Definition at line 30 of file oxdebugdb.php.
oxDebugDb::getWarnings | ( | ) |
|
staticprivate |
Definition at line 14 of file oxdebugdb.php.