function _ldap_api_get_servers in Lightweight Directory Access Protocol (LDAP) 6
1 call to _ldap_api_get_servers()
- ldap_api_list_servers_form in ./
ldap_server.admin.inc - Server Listing/Weight implimentation of hook_form(). Creating the actual form itself happens here.
File
- ./
ldap_server.admin.inc, line 54
Code
function _ldap_api_get_servers() {
$items = array();
$result = db_query("SELECT * FROM {ldap_servers} ORDER BY weight");
while ($item = db_fetch_object($result)) {
$items[] = $item;
}
return $items;
}