API16

JTableNested/debug: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:




{{subst:Description:JTableNested/debug}}
 


===Syntax===
===Syntax===
Line 34: Line 34:




{{subst:SeeAlso:JTableNested/debug}}
 


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=debug
  category=debug
  category=JTableNested
  category=JTableNested
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>

Latest revision as of 02:11, 25 March 2017

Description

Sets the debug level on or off



Syntax

debug($level)
Parameter Name Default Value Description
$level 0 = off, 1 = on

Defined in

libraries/joomla/database/tablenested.php

Importing

jimport( 'joomla.database.tablenested' );

Source Body

public function debug($level)
{
        $this->_debug = intval($level);
}



Examples

Code Examples