HumHub Documentation (unofficial)

ObjectClassInterface

This class provides a contract for schema objectClasses.

Table of Contents

Methods

getDescription()  : string
Gets the objectClass description
getMayContain()  : array<string|int, mixed>
Gets the attributes that this objectClass may contain
getMustContain()  : array<string|int, mixed>
Gets the attributes that this objectClass must contain
getName()  : string
Gets the objectClass name
getOid()  : string
Gets the objectClass OID
getParentClasses()  : array<string|int, mixed>
Returns the parent objectClasses of this class.
getType()  : int
Gets the objectClass type

Methods

getDescription()

Gets the objectClass description

public getDescription() : string
Return values
string

getMayContain()

Gets the attributes that this objectClass may contain

public getMayContain() : array<string|int, mixed>
Return values
array<string|int, mixed>

getMustContain()

Gets the attributes that this objectClass must contain

public getMustContain() : array<string|int, mixed>
Return values
array<string|int, mixed>

getParentClasses()

Returns the parent objectClasses of this class.

public getParentClasses() : array<string|int, mixed>

This includes structural, abstract and auxiliary objectClasses

Return values
array<string|int, mixed>

        
On this page

Search results