[ Expand All ] [ Collapse All ] - [ Properties (0) ] [ Methods (10) ] - [ Legend ]

DefaultRDFSInstance Class

Object
Node
Resource
DefaultRDFSResource
RDFSResource
DefaultRDFSInstance

Properties implemented by DefaultRDFSInstance

DefaultRDFSInstance has no properties.

Methods implemented by DefaultRDFSInstance
public method addPropertyValue

PHPaddPropertyValue(rdfsproperty $prop, unknown $value)

Adds a value for a property. RDFSProperties might have more than one value.

Arguments

public method getClass

PHPrdfsclass getClass()

Returns an RDFSClass this instance is an instance of.

Return

A class this instance is an instrance of.

public method getPropertyValuePlain

PHPvalue getPropertyValuePlain(mixed $prop)

Returns the value (label) of a property.

Arguments

Return

of the property. the data type depends on the given widget

public method listAllPropertyValuesPlain

PHParray listAllPropertyValuesPlain()

Returns an array of the values (labels) of all properties of the instance.

Return

Values of the all properties of the instance.

public method listClasses

PHParray 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.

public method listProperties

PHParray listProperties()

Returns an array of all properties defined for classes which this instance is instance of.

Return

Array of all properties.

public method listPropertyValuesPlain

PHParray listPropertyValuesPlain(mixed $prop)

Returns an array of the values (labels) of a property. TODO Depreciated!!!

Arguments

Return

Values of the property.

public method removePropertyValues

PHPremovePropertyValues(rdfsproperty $prop, mixed $value)

Removes all property values of the given property.

Arguments

public method setClass

PHPsetClass(unknown $classes)

Sets this instance to be an instance of $class.

Arguments

public method setPropertyValue

PHPsetPropertyValue(rdfsproperty $prop, unknown $value)

Sets a value for a property.

Arguments

Generated by PHPEdit - Copyright © 1999-2004 - Sébastien Hordeaux - WaterProof SARL