OXID eShop CE
4.10.5
|
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 8 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 21 of file oxdebugdb.php.
|
protected |
return true if statements are similar
string | $s1 | statement one |
string | $s2 | statement two |
Definition at line 234 of file oxdebugdb.php.
|
protected |
check missing keys - use explain return true on warning
string | $sSql | query string |
Definition at line 160 of file oxdebugdb.php.
|
protected |
returns nice formatted array
array | $aInput | messages array |
Definition at line 129 of file oxdebugdb.php.
|
staticprotected |
strips sql down of its values
string | $sSql | sql to process |
Definition at line 262 of file oxdebugdb.php.
|
staticprotected |
Checks if query is already in log file
string | $sSql | sql query to check |
Definition at line 44 of file oxdebugdb.php.
|
protected |
logs warnings to file
array | $aWarnings | warnings |
Definition at line 276 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 187 of file oxdebugdb.php.
|
staticprotected |
Removes special chars (' ', "\t", "\r", "\n") from passed string
string | $sStr | string to cleanup |
Definition at line 32 of file oxdebugdb.php.
oxDebugDb::getWarnings | ( | ) |
|
staticprivate |
Definition at line 16 of file oxdebugdb.php.