You are here

class LdapTypeDefault in Lightweight Directory Access Protocol (LDAP) 7

Same name and namespace in other branches
  1. 8.2 ldap_servers/ldap_types/LdapTypeDefault.class.php \LdapTypeDefault
  2. 7.2 ldap_servers/ldap_types/LdapTypeDefault.class.php \LdapTypeDefault

Hierarchy

Expanded class hierarchy of LdapTypeDefault

1 string reference to 'LdapTypeDefault'
ldap_servers_ldap_servers_types in ldap_servers/ldap_servers.module

File

ldap_servers/ldap_types/LdapTypeDefault.class.php, line 11

View source
class LdapTypeDefault extends LdapTypeAbstract {
  public $name = 'Default LDAP';
  public $typeId = 'Default';
  public $description = 'Other LDAP Type';
  public $port = 389;
  public $tls = 1;
  public $encrypted = 0;
  public $user_attr = 'cn';
  public $mail_attr = 'mail';
  public $supportsNestGroups = FALSE;

  /**
   * Constructor Method
   *
   */
  function __construct($params = array()) {
    foreach ($params as $k => $v) {
      if (property_exists($this, $k)) {
        $this->{$k} = $v;
      }
    }
  }

}

Members