public function EasyRdf_Resource::delete in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/easyrdf/easyrdf/lib/EasyRdf/Resource.php \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
1 call to EasyRdf_Resource::delete()
- EasyRdf_Container::offsetUnset in vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Container.php - Array Access: delete an item at a specific postion using array syntax
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Resource.php, line 276
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);
}