function krumo::_debug
Same name in other branches
- 7.x-1.x krumo/class.krumo.php \krumo::_debug()
* Get\Set Krumo state: whether it is enabled or disabled * *
Parameters
boolean $state: * @return boolean * @access private * @static
22 calls to krumo::_debug()
- krumo::backtrace in krumo/
class.krumo.php - * Prints a debug backtrace * * @access public * @static
- krumo::classes in krumo/
class.krumo.php - * Prints a list of all currently declared classes. * * @access public * @static
- krumo::conf in krumo/
class.krumo.php - * Prints a list of all your configuration settings. * * @access public * @static
- krumo::cookie in krumo/
class.krumo.php - * Prints a list of all the values from the $_COOKIE array. * * @access public * @static
- krumo::defines in krumo/
class.krumo.php - * Prints a list of all currently declared constants. * * @access public * @static
File
-
krumo/
class.krumo.php, line 730
Class
- krumo
- Krumo API
Code
static function _debug($state = null) {
static $_ = true;
// set
//
if (isset($state)) {
$_ = (bool) $state;
}
// get
//
return $_;
}