You are here

public function EasyRdf_Literal::dumpValue in Zircon Profile 8

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

Return pretty-print view of the literal

Parameters

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

string $color The colour of the text:

Return value

string

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Literal.php, line 315

Class

EasyRdf_Literal
Class that represents an RDF Literal

Code

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