oxDebugDb Class Reference

Collaboration diagram for oxDebugDb:

Collaboration graph
[legend]

List of all members.


Detailed Description

class for parsing and retrieving warnings from adodb saved sql table

Public Member Functions

 getWarnings ()

Protected Member Functions

 _generateWarningsResult ($aInput)
 _checkMissingKeys ($sSql)
 _checkMess ($s1, $s2)
 _logToFile ($aWarnings)

Static Protected Member Functions

static _skipWhiteSpace ($str)
static _isSkipped ($sSql)
static getSqlTemplate ($sSql)

Private Member Functions

 _missingKeysChecker ($aExplain)

Static Private Attributes

static $_aSkipSqls = array()

Member Function Documentation

static oxDebugDb._skipWhiteSpace ( str  )  [static, protected]

static oxDebugDb._isSkipped ( sSql  )  [static, protected]

oxDebugDb.getWarnings (  ) 

warning list generator

Returns:
array

oxDebugDb._generateWarningsResult ( aInput  )  [protected]

returns nice formatted array

Parameters:
array $aInput

oxDebugDb._checkMissingKeys ( sSql  )  [protected]

check missing keys - use explain return true on warning

Parameters:
bool $sSql

oxDebugDb._missingKeysChecker ( aExplain  )  [private]

check if remark of explain is not using keys true if not using

Parameters:
array $aExplain

oxDebugDb._checkMess ( s1,
s2 
) [protected]

return true if statements are similar

Parameters:
string $s1
string $s2
Returns:
boolean

static oxDebugDb.getSqlTemplate ( sSql  )  [static, protected]

strips sql down of its values

Parameters:
string $sSql
Returns:
string

oxDebugDb._logToFile ( aWarnings  )  [protected]

log to file


Member Data Documentation

oxDebugDb.$_aSkipSqls = array() [static, private]


The documentation for this class was generated from the following file:

Generated on Wed Oct 29 23:44:00 2008 for OXID eShop CE by  doxygen 1.5.5