function ldap_query_admin_form in Lightweight Directory Access Protocol (LDAP) 7.2
Same name and namespace in other branches
- 8.2 ldap_query/ldap_query.admin.inc \ldap_query_admin_form()
- 7 ldap_query/ldap_query.admin.inc \ldap_query_admin_form()
Implements the LDAP query 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_query_admin_form'
- ldap_query_menu in ldap_query/
ldap_query.module
File
- ldap_query/
ldap_query.admin.inc, line 56 - Defines functions for administrative interface for servers.
Code
function ldap_query_admin_form($form, &$form_state, $op = NULL, $qid = NULL) {
ldap_servers_module_load_include('php', 'ldap_query', 'LdapQueryAdmin.class');
$server = new LdapQueryAdmin($qid);
$form = $server
->drupalForm($op);
return $form;
}