You are here

function _simple_ldap_objectclass_map in Simple LDAP 7.2

1 string reference to '_simple_ldap_objectclass_map'
simple_ldap_server_check in ./simple_ldap.admin.inc
Run some basic tests to make debugging LDAP connections easier.

File

./simple_ldap.admin.inc, line 427
Functions for Simple LDAP admin interface.

Code

function _simple_ldap_objectclass_map($value) {
  $result = $value['name'] . ": (" . $value['oid'] . ')';
  if (array_key_exists('desc', $value)) {
    $result .= ': ' . $value['desc'];
  }
  return $result;
}