You are here

public function FeedsLdapQueryFetcherResult::__construct in Lightweight Directory Access Protocol (LDAP) 7.2

Same name and namespace in other branches
  1. 8.2 ldap_feeds/FeedsLdapQueryFetcher.inc \FeedsLdapQueryFetcherResult::__construct()
  2. 7 ldap_feeds/FeedsLdapQueryFetcher.inc \FeedsLdapQueryFetcherResult::__construct()

Constructor.

Overrides FeedsFetcherResult::__construct

File

ldap_feeds/FeedsLdapQueryFetcher.inc, line 18
FeedsLdapQueryFetcher.

Class

FeedsLdapQueryFetcherResult
FeedsLdapQueryFetcherResult.

Code

public function __construct($source_config) {
  $this->query_ids = isset($source_config['query_ids']) && is_array($source_config['query_ids']) ? $source_config['query_ids'] : [];
  parent::__construct('');
  $this->ldap_result = $this
    ->getRaw();
  return $this->ldap_result;
}