메소드 |
설명 |
|
attributeHasValue ( array &$data, string $attribName, mixed | array $value ) : boolean |
Checks if the given value(s) exist in the attribute |
|
convertFromLdapDateTimeValue ( string $value ) : integer | null |
Converts LDAP date/time representation into a timestamp |
|
convertFromLdapValue ( string $value ) : mixed |
Converts an LDAP value into its PHP data type |
|
convertToLdapDateTimeValue ( integer $value, boolean $utc = false ) : string | null |
Converts a timestamp into its LDAP date/time representation |
|
convertToLdapValue ( mixed $value ) : string | null |
Converts a PHP data type into its LDAP representation |
|
createPassword ( string $password, string $hashType = self::PASSWORD_HASH_MD5 ) : string |
Creates a LDAP password. |
|
getAttribute ( array $data, string $attribName, integer $index = null ) : array | mixed |
Gets a LDAP attribute. |
|
getDateTimeAttribute ( array $data, string $attribName, integer $index = null ) : array | integer |
Gets a LDAP date/time attribute. |
|
removeDuplicatesFromAttribute ( array &$data, string $attribName ) : void |
Removes duplicate values from a LDAP attribute |
|
removeFromAttribute ( array &$data, string $attribName, mixed | array $value ) : void |
Remove given values from a LDAP attribute |
|
setAttribute ( array &$data, string $attribName, scalar | array | Traversable $value, boolean $append = false ) : void |
Sets a LDAP attribute. |
|
setDateTimeAttribute ( array &$data, string $attribName, integer | array | Traversable $value, boolean $utc = false, boolean $append = false ) : null |
Sets a LDAP date/time attribute. |
|
setPassword ( array &$data, string $password, string $hashType = self::PASSWORD_HASH_MD5, string | null $attribName = null ) : null |
Sets a LDAP password. |
|