You are here

public static function krumo::defines in Devel 7

Same name and namespace in other branches
  1. 6 krumo/class.krumo.php \krumo::defines()

Prints a list of all currently declared constants.

@access public @static

File

krumo/class.krumo.php, line 196

Class

krumo
Krumo API

Code

public static function defines() {

  // disabled ?
  //
  if (!krumo::_debug()) {
    return false;
  }

  // render it
  //
  ?>
<div class="krumo-title">
This is a list of all currently declared constants (defines).
</div>
    <?php

  return krumo::dump(get_defined_constants());
}