Back to Nested class

Method debug

public void
debug
(mixed $level)
Sets the debug level on or off
Parameters
  • int $level 0 = off, 1 = on
Returns
  • void
Since
  • 1.7.0
Class: Nested
Project: Joomla

Method debug - Source code

/**
 * Sets the debug level on or off
 *
 * @param   integer  $level  0 = off, 1 = on
 *
 * @return  void
 *
 * @since   1.7.0
 */
public function debug($level)
{
    $this->_debug = (int) $level;
}