You are here

public function EasyRdf_Resource::properties in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Resource.php \EasyRdf_Resource::properties()

Get a list of all the shortened property names (qnames) for a resource.

This method will return an empty array if the resource has no properties.

Return value

array Array of shortened URIs

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Resource.php, line 496

Class

EasyRdf_Resource
Class that represents an RDF resource

Code

public function properties() {
  $this
    ->checkHasGraph();
  return $this->graph
    ->properties($this->uri);
}