You are here

function simple_ldap_user_get_data_handlers in Simple LDAP 7.2

Call HOOK_simple_ldap_data_handlers(), cache the results.

Parameters

boolean $reset: Reset the cache and recollect the list of handlers.

2 calls to simple_ldap_user_get_data_handlers()
simple_ldap_user_translate_drupal_attr_to_ldap in simple_ldap_user/simple_ldap_user.module
Translate Drupal fields into a format suitable for LDAP.
simple_ldap_user_translate_ldap_attr_to_drupal in simple_ldap_user/simple_ldap_user.module
Translate a single LDAP Attribute to the mapped Drupal user entity field.

File

simple_ldap_user/simple_ldap_user.module, line 811
Main simple_ldap_user module file.

Code

function simple_ldap_user_get_data_handlers($reset = FALSE) {
  static $handlers = array();
  if (empty($handlers) || $reset) {
    $handlers = module_invoke_all('simple_ldap_data_handlers');
    drupal_alter('simple_ldap_data_handlers', $handlers);
  }
  return $handlers;
}