function ldap_servers_admin_form in Lightweight Directory Access Protocol (LDAP) 7
Same name and namespace in other branches
- 8.2 ldap_servers/ldap_servers.admin.inc \ldap_servers_admin_form()
- 7.2 ldap_servers/ldap_servers.admin.inc \ldap_servers_admin_form()
Implements the LDAP server edit page.
Parameters
$form_state: A form state array.
$op: An operatin - add or edit.
$sid: A LDAP server ID.
Return value
The form structure.
1 string reference to 'ldap_servers_admin_form'
- ldap_servers_menu in ldap_servers/
ldap_servers.module
File
- ldap_servers/
ldap_servers.admin.inc, line 53 - Defines functions for administrative interface for servers
Code
function ldap_servers_admin_form($form, &$form_state, $op = NULL, $sid = NULL) {
ldap_server_module_load_include('php', 'ldap_servers', 'LdapServerAdmin.class');
$server = new LdapServerAdmin($sid);
$form = $server
->drupalForm($op);
return $form;
}