public function EasyRdf_Resource::join in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Resource.php \EasyRdf_Resource::join()
Concatenate all values for a property into a string.
The default is to join the values together with a space character. This method will return an empty string if the property does not exist.
Parameters
string $property The name of the property (e.g. foaf:name):
string $glue The string to glue the values together with.:
string $lang The language to filter by (e.g. en):
Return value
string Concatenation of all the values.
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Resource.php, line 472
Class
- EasyRdf_Resource
- Class that represents an RDF resource
Code
public function join($property, $glue = ' ', $lang = null) {
$this
->checkHasGraph();
return $this->graph
->join($this->uri, $property, $glue, $lang);
}