protected function _resource($data, $name)
    {
        $data = get_resource_type($data);
        $this->_renderNode('Resource', $name, $data);
    }
protected function _resource($data, $name)
    {
        $data = get_resource_type($data);
        $this->_renderNode('Resource', $name, $data);
    }
protected function _resource ( $ data , $ name ) { $ data = get_resource_type ( $ data ) ; $ this -> _renderNode ( 'Resource' , $ name , $ data ) ; }
Render HTML for resource type
@param   resource $data Variable
@param   string   $name Variable name
@return  void
Render HTML for resource type