private static function _resource($data, $name)
    {
        $html = '<li class="krumo-child">
            <div class="krumo-element" onMouseOver="krumo.over(this);" onMouseOut="krumo.out(this);">
            <a class="krumo-name">%s</a> <em class="krumo-type">Resource</em>
            %s<strong class="krumo-resource">%s</strong>
            </div></li>';

        $html = sprintf($html, $name, static::get_separator(), get_resource_type($data));

        echo $html;
    }
private static function _resource($data, $name)
    {
        $html = '<li class="krumo-child">
            <div class="krumo-element" onMouseOver="krumo.over(this);" onMouseOut="krumo.out(this);">
            <a class="krumo-name">%s</a> <em class="krumo-type">Resource</em>
            %s<strong class="krumo-resource">%s</strong>
            </div></li>';

        $html = sprintf($html, $name, static::get_separator(), get_resource_type($data));

        echo $html;
    }
private static function _resource ( $ data , $ name ) { $ html = '<li class="krumo-child">
            <div class="krumo-element" onMouseOver="krumo.over(this);" onMouseOut="krumo.out(this);">
            <a class="krumo-name">%s</a> <em class="krumo-type">Resource</em>
            %s<strong class="krumo-resource">%s</strong>
            </div></li>' ; $ html = sprintf ( $ html , $ name , static :: get_separator ( ) , get_resource_type ( $ data ) ) ; echo $ html ; }
Render a dump for a resource

@param mixed $data
@param string $name
@access private
@static
Render a dump for a resource