HumHub Documentation (unofficial)

OpenLdap extends AbstractItem
in package
implements ObjectClassInterface

Laminas\Ldap\Node\Schema\ObjectClass\OpenLdap provides access to the objectClass schema information on an OpenLDAP server.

Table of Contents

Interfaces

ObjectClassInterface
This class provides a contract for schema objectClasses.

Properties

$data  : array<string|int, mixed>
The underlying data
$inheritedMay  : array<string|int, mixed>
All inherited "MAY" attributes
$inheritedMust  : array<string|int, mixed>
All inherited "MUST" attributes

Methods

__construct()  : mixed
__get()  : mixed
Gets a specific attribute from this item
__isset()  : bool
Checks whether a specific attribute exists.
count()  : mixed
getData()  : array<string|int, mixed>
Gets the data
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.
getParents()  : array<string|int, mixed>
Returns the parent object classes in the inheritance tree if one exists
getType()  : int
Gets the objectClass type
offsetExists()  : mixed
offsetGet()  : mixed
offsetSet()  : mixed
offsetUnset()  : mixed
setData()  : AbstractItem
Sets the data
resolveInheritance()  : void
Resolves the inheritance tree

Properties

$data

The underlying data

protected array<string|int, mixed> $data

$inheritedMay

All inherited "MAY" attributes

protected array<string|int, mixed> $inheritedMay

$inheritedMust

All inherited "MUST" attributes

protected array<string|int, mixed> $inheritedMust

Methods

__construct()

public __construct(array<string|int, mixed> $data) : mixed
Parameters
$data : array<string|int, mixed>

__get()

Gets a specific attribute from this item

public __get(string $name) : mixed
Parameters
$name : string

__isset()

Checks whether a specific attribute exists.

public __isset(string $name) : bool
Parameters
$name : string
Return values
bool

count()

public count() : mixed
Tags
inheritDoc

Returns the number of attributes.

getData()

Gets the data

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

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>

getName()

Gets the objectClass name

public getName() : string
Return values
string

getOid()

Gets the objectClass OID

public getOid() : string
Return values
string

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>

getParents()

Returns the parent object classes in the inheritance tree if one exists

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

of OpenLdap

getType()

Gets the objectClass type

public getType() : int
Return values
int

offsetExists()

public offsetExists(mixed $name) : mixed
Parameters
$name : mixed
Tags
inheritDoc

Checks whether a specific attribute exists.

offsetGet()

public offsetGet(mixed $offset) : mixed
Parameters
$offset : mixed
Tags
inheritDoc

Gets a specific attribute from this item

setData()

Sets the data

public setData(array<string|int, mixed> $data) : AbstractItem
Parameters
$data : array<string|int, mixed>
Return values
AbstractItem

Provides a fluid interface

resolveInheritance()

Resolves the inheritance tree

protected resolveInheritance() : void

        
On this page

Search results