function krumo::_resource
Render a dump for a resource
@access private @static
Parameters
mixed $data:
string $name:
1 call to krumo::_resource()
- krumo::_dump in krumo/
class.krumo.php - Dump information about a variable
File
-
krumo/
class.krumo.php, line 1142
Class
- krumo
- Krumo API
Code
private static function _resource($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">Resource</em>)
<strong class="krumo-resource"><?php
echo get_resource_type($data);
?></strong>
</div>
</li>
<?php
}