You are here

function ldap_query_get_queries in Lightweight Directory Access Protocol (LDAP) 7.2

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

Return ldap query objects.

Parameters

string $qid:

string $type: 'all', 'enabled',.

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

bool $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 131

Code

function ldap_query_get_queries($qid = NULL, $type, $flatten = FALSE, $reset = FALSE) {
  ldap_servers_module_load_include('inc', 'ldap_query', 'ldap_query');
  return _ldap_query_get_queries($qid, $type, $flatten, $reset);
}