public function EasyRdf_Resource::dump

Return a human readable view of the resource and its properties

This method is intended to be a debugging aid and will print a resource and its properties.

Parameters

bool $html Set to true to format the dump using HTML:

Return value

string

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Resource.php, line 625

Class

EasyRdf_Resource
Class that represents an RDF resource

Code

public function dump($html = true) {
  $this
    ->checkHasGraph();
  return $this->graph
    ->dumpResource($this->uri, $html);
}