You are here

function ldap_query_test in Lightweight Directory Access Protocol (LDAP) 7

Same name and namespace in other branches
  1. 8.2 ldap_query/ldap_query.admin.inc \ldap_query_test()
  2. 7.2 ldap_query/ldap_query.admin.inc \ldap_query_test()
1 string reference to 'ldap_query_test'
ldap_query_menu in ldap_query/ldap_query.module

File

ldap_query/ldap_query.admin.inc, line 252
Defines functions for administrative interface for servers

Code

function ldap_query_test($qid) {
  $ldap_query = ldap_query_get_queries($qid, 'all', TRUE);
  $results = $ldap_query
    ->query();
  $display = theme('ldap_query_results', array(
    'results' => $results,
    'ldap_query' => $ldap_query,
    'show_query' => TRUE,
  ));
  return $display;
}