OXID eShop CE
4.8.11
|
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 20 of file oxdebugdb.php.
|
protected |
return true if statements are similar
string | $s1 | statement one |
string | $s2 | statement two |
Definition at line 229 of file oxdebugdb.php.
|
protected |
check missing keys - use explain return true on warning
string | $sSql | query string |
Definition at line 156 of file oxdebugdb.php.
|
protected |
returns nice formatted array
array | $aInput | messages array |
Definition at line 126 of file oxdebugdb.php.
|
staticprotected |
strips sql down of its values
string | $sSql | sql to process |
Definition at line 257 of file oxdebugdb.php.
|
staticprotected |
Checks if query is allready in log file
string | $sSql | sql query to check |
Definition at line 43 of file oxdebugdb.php.
|
protected |
logs warnings to file
array | $aWarnings | warnings |
Definition at line 273 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 182 of file oxdebugdb.php.
|
staticprotected |
Removes special chars (' ', "\t", "\r", "\n") from passed string
string | $sStr | string to cleanup |
Definition at line 31 of file oxdebugdb.php.
oxDebugDb::getWarnings | ( | ) |
|
staticprivate |
Definition at line 13 of file oxdebugdb.php.