public function EasyRdf_Resource::delete

Delete a property (or optionally just a specific value)

Parameters

string $property The name of the property (e.g. foaf:name):

object $value The value to delete (null to delete all values):

Return value

null

File

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

Class

EasyRdf_Resource
Class that represents an RDF resource

Code

public function delete($property, $value = null) {
  $this
    ->checkHasGraph();
  return $this->graph
    ->delete($this->uri, $property, $value);
}