LDAP Account Manager

ListAttribute
in package

An attribute definition for the account list.

Tags
author

Roland Gruber

Table of Contents

$attributeSpec  : mixed
__construct()  : mixed
Constructor.
getAlias()  : string
Returns the display value.
getAttributeName()  : string
Returns the name of the LDAP attribute.
isPredefined()  : bool
Returns if this is a predefined attribute name.

Properties

$attributeSpec

private mixed $attributeSpec

Methods

__construct()

Constructor.

public __construct(string $attributeSpec) : mixed
Parameters
$attributeSpec : string

spec of attribute (e.g. '#uid' or 'uid:User')

Return values
mixed

getAlias()

Returns the display value.

public getAlias(array<string|int, mixed> $predefinedDescriptions) : string
Parameters
$predefinedDescriptions : array<string|int, mixed>

predefined descriptions (lower attribute name => label)

Return values
string

display value

getAttributeName()

Returns the name of the LDAP attribute.

public getAttributeName() : string
Return values
string

$attributeName name

isPredefined()

Returns if this is a predefined attribute name.

private isPredefined() : bool
Return values
bool

is predefined

Search results