public function TripalWebServiceResource::removeContextItem
3.x TripalWebServiceResource.inc | public TripalWebServiceResource::removeContextItem($name, $iri) |
Removes a term for the '@context' section for this resource.
Parameters
$name: The term name.
$iri: The Internationalized Resource Identifiers or it's shortcut.
File
- tripal_ws/
includes/ TripalWebServiceResource.inc, line 99
Class
Code
public function removeContextItem($name, $iri) {
// TODO: make sure that if a shortcut is used that the parent is present.
unset($this->context[$name]);
}