public function FeedsDrupalUserLdapEntryFetcherResult::__construct in Lightweight Directory Access Protocol (LDAP) 7.2
Same name and namespace in other branches
- 8.2 ldap_feeds/FeedsDrupalUserLdapEntryFetcher.inc \FeedsDrupalUserLdapEntryFetcherResult::__construct()
- 7 ldap_feeds/FeedsDrupalUserLdapEntryFetcher.inc \FeedsDrupalUserLdapEntryFetcherResult::__construct()
Constructor.
Overrides FeedsFetcherResult::__construct
File
- ldap_feeds/
FeedsDrupalUserLdapEntryFetcher.inc, line 22 - FeedsDrupalUserLdapEntryFetcher.
Class
Code
public function __construct($source_config) {
$this->availableDrupalUserAttributes = ldap_feeds_drupal_user_attributes();
$this->filterLdapAuthenticated = isset($source_config['filterLdapAuthenticated']) ? $source_config['filterLdapAuthenticated'] : LDAP_FEEDS_DRUPAL_USER_FETCHER_FILTER_AUTHENTICATED;
$this->filterRoles = isset($source_config['filterRoles']) ? $source_config['filterRoles'] : LDAP_FEEDS_DRUPAL_USER_FETCHER_FILTER_ROLES;
parent::__construct('');
$this->ldap_result = $this
->getRaw();
return $this->ldap_result;
}