API17

API17:JDatabase::setDebug

From Joomla! Documentation

Joomla 11.1 JDatabase::setDebug

Description

Sets the database debugging state for the driver.


public function setDebug ($level)
Parameter Type Default Description
$level bool True to enable debugging.
  • Returns bool The old debugging level.
  • Defined on line 917 of libraries/joomla/database/database.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples