Lines Matching refs:options
570 * @param array $options Array of options to pass to the constructor
574 function __construct($options = array()) {
575 // You can specifically overide any of the default configuration options setup above
576 if (count($options) > 0) {
577 if (array_key_exists("account_suffix",$options)){ $this->accountSuffix = $options["account_suffix"]; }
578 if (array_key_exists("base_dn",$options)){ $this->baseDn = $options["base_dn"]; }
579 if (array_key_exists("domain_controllers",$options)){
580 if (!is_array($options["domain_controllers"])) {
583 $this->domainControllers = $options["domain_controllers"];
585 if (array_key_exists("admin_username",$options)){ $this->adminUsername = $options["admin_username"]; }
586 if (array_key_exists("admin_password",$options)){ $this->adminPassword = $options["admin_password"]; }
587 if (array_key_exists("real_primarygroup",$options)){ $this->realPrimaryGroup = $options["real_primarygroup"]; }
588 if (array_key_exists("use_ssl",$options)){ $this->setUseSSL($options["use_ssl"]); }
589 if (array_key_exists("use_tls",$options)){ $this->useTLS = $options["use_tls"]; }
590 if (array_key_exists("recursive_groups",$options)){ $this->recursiveGroups = $options["recursive_groups"]; }
591 if (array_key_exists("ad_port",$options)){ $this->setPort($options["ad_port"]); }
592 if (array_key_exists("sso",$options)) {
593 $this->setUseSSO($options["sso"]);
633 // Set some ldap options for talking to AD