You are here

function ldap_query_get_queries in Lightweight Directory Access Protocol (LDAP) 7

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

return ldap query objects

Parameters

alphanum $qid:

enum $type 'all', 'enabled',:

boolean $flatten signifies if array or single object returned. Only works if sid is specified:

boolean $reset do not use cached or static result:

Return value

  • array of server conf object keyed on sid

    • single server conf object (if flatten == TRUE)
7 calls to ldap_query_get_queries()
FeedsLdapQueryFetcher::configForm in ldap_feeds/FeedsLdapQueryFetcher.inc
Override parent::configForm().
FeedsLdapQueryFetcherResult::getRaw in ldap_feeds/FeedsLdapQueryFetcher.inc
Overrides parent::getRaw();
ldap_query_admin_delete in ldap_query/ldap_query.admin.inc
Implements the LDAP query delete page.
ldap_query_admin_enable_disable in ldap_query/ldap_query.admin.inc
Implements the LDAP query disable
ldap_query_cache_clear in ldap_query/ldap_query.module

... See full list

File

ldap_query/ldap_query.module, line 118

Code

function ldap_query_get_queries($qid = NULL, $type, $flatten = FALSE, $reset = FALSE) {
  ldap_server_module_load_include('inc', 'ldap_query', 'ldap_query');
  if (variable_get('ldap_simpletest', FALSE)) {
    return _ldap_query_get_simpletest_queries($qid, $type, $flatten, $reset);
  }
  else {
    return _ldap_query_get_queries($qid, $type, $flatten, $reset);
  }
}