Added getLabel() helper function
This commit is contained in:
@@ -166,4 +166,11 @@ class CloudObject {
|
||||
return $this->getString(Constants::PROPERTY_REVISION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the rdfs:label of the object.
|
||||
*/
|
||||
public function getLabel() : ?string {
|
||||
return $this->getString(Constants::RDFS_LABEL);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user