Back to BaseLayout class

Method isDebugEnabled

public bool
isDebugEnabled
()
Check if debug mode is enabled
Returns
  • bool
Since
  • 3.5
Class: BaseLayout
Project: Joomla

Method isDebugEnabled - Source code

/**
 * Check if debug mode is enabled
 *
 * @return  boolean
 *
 * @since   3.5
 */
public function isDebugEnabled()
{
    return $this->getOptions()->get('debug', false) === true;
}