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

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

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