Back to BaseLayout class

Method setDebug

public self
setDebug
(mixed $debug)
Change the debug mode
Parameters
  • bool $debug Enable / Disable debug
Returns
  • self
Since
  • 3.5
Class: BaseLayout
Project: Joomla

Method setDebug - Source code

/**
 * Change the debug mode
 *
 * @param   boolean  $debug  Enable / Disable debug
 *
 * @return  self
 *
 * @since   3.5
 */
public function setDebug($debug)
{
    $this->options->set('debug', (bool) $debug);
    return $this;
}