You are here

abstract class LdapTypeAbstract in Lightweight Directory Access Protocol (LDAP) 7

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

@file abstract class to represent an ldap implementation type such as active directory, open ldap, novell, etc.

Hierarchy

Expanded class hierarchy of LdapTypeAbstract

File

ldap_servers/ldap_types/LdapTypeAbstract.class.php, line 10
abstract class to represent an ldap implementation type such as active directory, open ldap, novell, etc.

View source
abstract class LdapTypeAbstract {
  public $name;
  public $typeId;
  public $description;
  public $port = 389;
  public $tls = 0;
  public $encrypted = 0;
  public $user_attr = 'cn';
  public $mail_attr = 'mail';
  public $groupObjectClassDefault = NULL;
  public $groupDerivationModelDefault = NULL;
  public $groupDeriveFromAttributeNameDefault = NULL;
  public $groupDeriveFromAttrDnAttrDefault = NULL;
  public $groupDeriveFromEntryAttrDefault = NULL;
  public $groupDeriveFromEntryUserIdDefault = NULL;

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

}

Members