You are here

function ldap_servers_ldaps_option_array in Lightweight Directory Access Protocol (LDAP) 7

Same name and namespace in other branches
  1. 8.2 ldap_servers/ldap_servers.module \ldap_servers_ldaps_option_array()
  2. 7.2 ldap_servers/ldap_servers.module \ldap_servers_ldaps_option_array()

Return value

options for ldap type pulldown

2 calls to ldap_servers_ldaps_option_array()
LdapServerAdmin::fields in ldap_servers/LdapServerAdmin.class.php
LdapServerAdmin::warnings in ldap_servers/LdapServerAdmin.class.php

File

ldap_servers/ldap_servers.module, line 434

Code

function ldap_servers_ldaps_option_array() {
  $options = array();
  foreach (ldap_servers_ldap_servers_types() as $ldap_id => $conf) {
    $options[$ldap_id] = $conf['name'];
  }
  return $options;
}