public function EasyRdf_Graph::__get

Magic method to get a property of the graph

Note that only properties in the default namespace can be accessed in this way.

Example: $value = $graph->title;

Parameters

string $name The name of the property:

Return value

string A single value for the named property

See also

EasyRdf_Namespace::setDefault()

File

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

Class

EasyRdf_Graph
Container for collection of EasyRdf_Resources.

Code

public function __get($name) {
  return $this
    ->get($this->uri, $name);
}