You are here

function ldap_api_config_get in Lightweight Directory Access Protocol (LDAP) 6

get configuration array from cache or db http://www.lullabot.com/articles/a_beginners_guide_to_caching_data http://dc2009.drupalcon.org/session/inside-drupal-caching-static-variabl... *

Parameters

$reset: true signifies override cache or static variable and get from db

$sid: if present, only return a single server's configuration

Return value

ldap configuration as array or single ldap server configuration

1 call to ldap_api_config_get()
ldap_api_config_update_cache in includes/ldap.functions.inc
update cache

File

includes/ldap.functions.inc, line 60
Other LDAP Functions

Code

function ldap_api_config_get($reset = FALSE, $sid = FALSE) {
  require_once 'ldap_api.functions.inc';
  return _ldap_api_config_get($reset, $sid);
}