public function EasyRdf_Resource::load

Perform a load (download of remote URI) of the resource into the graph

The document type is optional but should be specified if it can't be guessed or got from the HTTP headers.

Parameters

string $format Optional format of the data (eg. rdfxml):

File

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

Class

EasyRdf_Resource
Class that represents an RDF resource

Code

public function load($format = null) {
  $this
    ->checkHasGraph();
  return $this->graph
    ->load($this->uri, $format);
}