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.
array Array of shortened URIs
public function properties($resource) {
$this
->checkResourceParam($resource);
$properties = array();
if (isset($this->index[$resource])) {
foreach ($this->index[$resource] as $property => $value) {
$short = EasyRdf_Namespace::shorten($property);
if ($short) {
$properties[] = $short;
}
}
}
return $properties;
}