public function EasyRdf_Graph::__set

Magic method to set the value for a property of the graph

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

Example: $graph->title = 'Title';

Parameters

string $name The name of the property:

string $value The value for the property:

See also

EasyRdf_Namespace::setDefault()

File

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

Class

EasyRdf_Graph
Container for collection of EasyRdf_Resources.

Code

public function __set($name, $value) {
  return $this
    ->set($this->uri, $name, $value);
}