You are here

public function LdapServer::dnArrayToLowerCase in Lightweight Directory Access Protocol (LDAP) 7.2

Same name and namespace in other branches
  1. 8.2 ldap_servers/LdapServer.class.php \LdapServer::dnArrayToLowerCase()

Parameters

array $dns: Mixed Case.

Return value

array $dns Lower Case

1 call to LdapServer::dnArrayToLowerCase()
LdapServer::groupIsMember in ldap_servers/LdapServer.class.php
Is a user a member of group?

File

ldap_servers/LdapServer.class.php, line 1050
Defines server classes and related functions.

Class

LdapServer
LDAP Server Class.

Code

public function dnArrayToLowerCase($dns) {
  return array_keys(array_change_key_case(array_flip($dns), CASE_LOWER));
}