You are here

private static function krumo::_boolean in Devel 7

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

Render a dump for a boolean value

@access private @static

Parameters

mixed $data:

string $name:

1 call to krumo::_boolean()
krumo::_dump in krumo/class.krumo.php
Dump information about a variable

File

krumo/class.krumo.php, line 1170

Class

krumo
Krumo API

Code

private static function _boolean($data, $name) {
  ?>
<li class="krumo-child">

  <div class="krumo-element"
    onMouseOver="krumo.over(this);"
    onMouseOut="krumo.out(this);">

      <?php


  /* DEVEL: added htmlSpecialChars */
  ?>
      <a class="krumo-name"><?php

  echo htmlSpecialChars($name);
  ?></a>
      (<em class="krumo-type">Boolean</em>)
      <strong class="krumo-boolean"><?php

  echo $data ? 'TRUE' : 'FALSE';
  ?></strong>
  </div>

</li>
<?php

}