API16

JLanguage/setDebug

From Joomla! Documentation

< API16:JLanguage

The "API16" 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]

Set the Debug property


<! removed transcluded page call, red link never existed >

Syntax[edit]

setDebug($debug)
Parameter Name Default Value Description
$debug

Returns[edit]

boolean Previous value

Defined in[edit]

libraries/joomla/language/language.php

Importing[edit]

jimport( 'joomla.language.language' );

Source Body[edit]

public function setDebug($debug)
{
        $previous       = $this->_debug;
        $this->_debug = $debug;
        return $previous;
}


<! removed transcluded page call, red link never existed >

Examples[edit]

Code Examples[edit]