You are here

static function krumo::headers in Devel 6

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

* Prints a list of all HTTP request headers. * * @access public * @static

File

krumo/class.krumo.php, line 244

Class

krumo
Krumo API

Code

static function headers() {

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

  // render it
  //
  ?>
<div class="krumo-title">
This is a list of all HTTP request headers.
</div>
		<?php

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