public function EasyRdf_Resource::all

Get all values for a property

This method will return an empty array if the property does not exist.

Parameters

string $property The name of the property (e.g. foaf:name):

string $type The type of value to filter by (e.g. literal):

string $lang The language to filter by (e.g. en):

Return value

array An array of values associated with the property

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Resource.php, line 397

Class

EasyRdf_Resource
Class that represents an RDF resource

Code

public function all($property, $type = null, $lang = null) {
  $this
    ->checkHasGraph();
  return $this->graph
    ->all($this->uri, $property, $type, $lang);
}