You are here

LdapTypeDefault.class.php in Lightweight Directory Access Protocol (LDAP) 8.2

File

ldap_servers/ldap_types/LdapTypeDefault.class.php
View source
<?php

/**
 * @file
 * Generic LDAP Implementation Details
 *
 */
module_load_include('php', 'ldap_servers', 'ldap_types/LdapTypeAbstract.class');
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;
      }
    }
  }

}

Classes

Namesort descending Description
LdapTypeDefault