Debugging

Debugging --  DB_DataObject::debugLevel() ::debug()

DB_DataObject::debugLevel()

Sets the debugging level - so you can see the queries being built and executed

DB_DataObject::debugLevel ([int debug level])

Sets the debugging level (without any parameters it will disable the debugging output) See the configuration page for details on the various levels.

DB_DataObject::debug()

using the built in debug output of DB_DataObject

DB_DataObject::debug ([string message [, stringsubject [, int debug level]]])

Outputs data to the screen, to show you what is happening in the application.

Note that in production mode, the debugger is disabled.