You are here

public function EasyRdf_Resource::dumpValue in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Resource.php \EasyRdf_Resource::dumpValue()

Return pretty-print view of the resource

Parameters

string $format Either 'html' or 'text':

string $color The colour of the text:

Return value

string

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Resource.php, line 229

Class

EasyRdf_Resource
Class that represents an RDF resource

Code

public function dumpValue($format = 'html', $color = 'blue') {
  return EasyRdf_Utils::dumpResourceValue($this, $format, $color);
}