JDatabase::setDebug
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JDatabase::setDebug[edit]
Description[edit]
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
See also[edit]
JDatabase::setDebug source code on BitBucket
Class JDatabase
Subpackage Database
- Other versions of JDatabase::setDebug
User contributed notes[edit]
Code Examples[edit]