DefaultRDFSInstance has no properties.
PHP | addPropertyValue(rdfsproperty $prop, unknown $value) |
---|
Adds a value for a property. RDFSProperties might have more than one value.
Arguments
The property the value should be added to.
Value for the property
PHP | rdfsclass getClass() |
---|
Returns an RDFSClass this instance is an instance of.
Return
A class this instance is an instrance of.
PHP | value getPropertyValuePlain(mixed $prop) |
---|
Returns the value (label) of a property.
Arguments
Property
Return
of the property. the data type depends on the given widget
PHP | array listAllPropertyValuesPlain() |
---|
Returns an array of the values (labels) of all properties of the instance.
Return
Values of the all properties of the instance.
PHP | array listClasses() |
---|
Returns an array of all classes for the given instance. Each class will be an RDFSClass.
Return
Array of all classes for the given instance.
PHP | array listProperties() |
---|
Returns an array of all properties defined for classes which this instance is instance of.
Return
Array of all properties.
PHP | array listPropertyValuesPlain(mixed $prop) |
---|
Returns an array of the values (labels) of a property. TODO Depreciated!!!
Arguments
Property
Return
Values of the property.
PHP | removePropertyValues(rdfsproperty $prop, mixed $value) |
---|
Removes all property values of the given property.
Arguments
PHP | setPropertyValue(rdfsproperty $prop, unknown $value) |
---|
Sets a value for a property.
Arguments
,
Value for the property.