public function 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

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Graph.php, line 1190

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();
  }
}