attributeHasValue()
createPassword()
getAttribute()
getDateTimeAttribute()
removeDuplicatesFromAttribute()
removeFromAttribute()
setAttribute()
setDateTimeAttribute()
setPassword()
valueFromLdap()
valueFromLdapDateTime()
valueToLdap()
valueToLdapDateTime()
PASSWORD_HASH_MD5
PASSWORD_HASH_SHA
PASSWORD_HASH_SMD5
PASSWORD_HASH_SSHA
PASSWORD_UNICODEPWD
Zend\Ldap\Attribute is a collection of LDAP attribute related functions.
attributeHasValue(array $data, string $attribName, mixed | array $value) : bool
array
string
mixedarray
bool
createPassword(string $password, string $hashType) : string
string
string
string
getAttribute(array $data, string $attribName, int $index) : array | mixed
array
string
int
array
mixed
getDateTimeAttribute(array $data, string $attribName, int $index) : array | int
array
string
int
array
int
removeDuplicatesFromAttribute(array $data, string $attribName) : void
array
string
removeFromAttribute(array $data, string $attribName, mixed | array $value) : void
array
string
mixedarray
setAttribute(array $data, string $attribName, string | array | \Traversable $value, bool $append) : void
array
string
stringarray\Traversable
bool
setDateTimeAttribute(array $data, string $attribName, int | array | \Traversable $value, bool $utc, bool $append)
array
string
intarray\Traversable
bool
bool
setPassword(array $data, string $password, string $hashType, string $attribName)
array
string
string
Optional by default MD5
string
Optional
valueFromLdap(string $value) : mixed
string
mixed
valueToLdap(mixed $value) : string | null
mixed
string
null
valueToLdapDateTime(int $value, bool $utc) : string | null
int
bool
string
null
PASSWORD_HASH_MD5
PASSWORD_HASH_SHA
PASSWORD_HASH_SMD5
PASSWORD_HASH_SSHA
PASSWORD_UNICODEPWD