public function EasyRdf_Graph::__isset in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/easyrdf/easyrdf/lib/EasyRdf/Graph.php \EasyRdf_Graph::__isset()
Magic method to check if a property exists
Note that only properties in the default namespace can be accessed in this way.
Example: if (isset($graph->title)) { blah(); }
Parameters
string $name The name of the property:
See also
EasyRdf_Namespace::setDefault()
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Graph.php, line 1644
Class
- EasyRdf_Graph
- Container for collection of EasyRdf_Resources.
Code
public function __isset($name) {
return $this
->hasProperty($this->uri, $name);
}