public function EasyRdf_Literal_HTML::__construct

Constructor for creating a new rdf:HTML literal

Parameters

mixed $value The HTML fragment:

string $lang Should be null (literals with a datatype can't have a language):

string $datatype Optional datatype (default 'rdf:HTML'):

Return value

object EasyRdf_Literal_HTML

Overrides EasyRdf_Literal::__construct

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Literal/HTML.php, line 56

Class

EasyRdf_Literal_HTML
Class that represents an RDF Literal of datatype rdf:HTML

Code

public function __construct($value, $lang = null, $datatype = null) {
  parent::__construct($value, null, $datatype);
}