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