JDatabase/debug
From Joomla! Documentation
< API15:JDatabaseRevision as of 17:14, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description===
Sets the debug level on or off
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
...)
Revision as of 17:14, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description===
Sets the debug level on or off
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
...)
The "API15" 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.
Description[edit]
Sets the debug level on or off
Template:Description:JDatabase/debug
Syntax[edit]
debug($level)
Parameter Name | Default Value | Description |
---|---|---|
$level | 0 = off, 1 = on |
Defined in[edit]
libraries/joomla/database/database.php
Importing[edit]
jimport( 'joomla.database.database' );
Source Body[edit]
function debug( $level ) {
$this->_debug = intval( $level );
}
[Edit See Also] Template:SeeAlso:JDatabase/debug
Examples[edit]
<CodeExamplesForm />