You are here

function ldaphelp_get_export_comments in LDAP integration 6

File

ldaphelp/ldaphelp.module, line 305
The ldaphelp module is a module to help admins debug ldap_integration modules.

Code

function ldaphelp_get_export_comments($export_conf_data) {
  if ($export_conf_data['admin_settings']) {
    $text = "\r\nAdmin Settings: \r\n" . ldaphelp_arraytotxt($export_conf_data['admin_settings']);
  }
  foreach ($export_conf_data['ldaps'] as $sid => $ldap) {
    $text .= "\r\n" . ldaphelp_arraytotxt($ldap);
  }
  return $text;
}