public function EasyRdf_Graph::reversePropertyUris in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Graph.php \EasyRdf_Graph::reversePropertyUris()
Get a list of the full URIs for the properties that point to a resource.
Return value
array Array of full property URIs
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Graph.php, line 1229
Class
- EasyRdf_Graph
- Container for collection of EasyRdf_Resources.
Code
public function reversePropertyUris($resource) {
$this
->checkResourceParam($resource);
if (isset($this->revIndex[$resource])) {
return array_keys($this->revIndex[$resource]);
}
else {
return array();
}
}