HumHub Documentation (unofficial)

OpenLdap extends AbstractItem
in package
implements AttributeTypeInterface

Laminas\Ldap\Node\Schema\AttributeType\OpenLdap provides access to the attribute type schema information on an OpenLDAP server.

Table of Contents

Interfaces

AttributeTypeInterface
This class provides a contract for schema attribute-types.

Properties

$data  : array<string|int, mixed>
The underlying data

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 attribute description
getMaxLength()  : int|null
Gets the attribute maximum length
getName()  : string
Gets the attribute name
getOid()  : string
Gets the attribute OID
getParent()  : OpenLdap|null
Returns the parent attribute type in the inheritance tree if one exists
getSyntax()  : string
Gets the attribute syntax
isSingleValued()  : bool
Returns if the attribute is single-valued.
offsetExists()  : mixed
offsetGet()  : mixed
offsetSet()  : mixed
offsetUnset()  : mixed
setData()  : AbstractItem
Sets the data

Properties

$data

The underlying data

protected array<string|int, mixed> $data

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 attribute description

public getDescription() : string
Return values
string

getMaxLength()

Gets the attribute maximum length

public getMaxLength() : int|null
Return values
int|null

getName()

Gets the attribute name

public getName() : string
Return values
string

getOid()

Gets the attribute OID

public getOid() : string
Return values
string

getParent()

Returns the parent attribute type in the inheritance tree if one exists

public getParent() : OpenLdap|null
Return values
OpenLdap|null

getSyntax()

Gets the attribute syntax

public getSyntax() : string
Return values
string

isSingleValued()

Returns if the attribute is single-valued.

public isSingleValued() : bool
Return values
bool

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


        
On this page

Search results