static function krumo::_boolean in Devel 6
Same name and namespace in other branches
- 7 krumo/class.krumo.php \krumo::_boolean()
* Render a dump for a boolean value * *
Parameters
mixed $data: * @param string $name * @access private * @static
1 call to krumo::_boolean()
- krumo::_dump in krumo/
class.krumo.php - * Dump information about a variable * *
File
- krumo/
class.krumo.php, line 1128
Class
- krumo
- Krumo API
Code
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
}