public function EasyRdf_Graph::propertyUris in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/easyrdf/easyrdf/lib/EasyRdf/Graph.php \EasyRdf_Graph::propertyUris()
Get a list of the full URIs for the properties of a resource.
This method will return an empty array if the resource has no properties.
Return value
array Array of full URIs
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Graph.php, line 1214
Class
- EasyRdf_Graph
- Container for collection of EasyRdf_Resources.
Code
public function propertyUris($resource) {
$this
->checkResourceParam($resource);
if (isset($this->index[$resource])) {
return array_keys($this->index[$resource]);
}
else {
return array();
}
}