You are here

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

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

Hierarchy

Expanded class hierarchy of LdapTypeAbstract

File

ldap_servers/ldap_types/LdapTypeAbstract.class.php, line 12
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;

  /**
   * Ldap_servers configuration.
   */
  public $port = 389;
  public $tls = 0;
  public $encrypted = 0;
  public $user_attr = 'cn';
  public $mail_attr = 'mail';
  public $groupObjectClassDefault = NULL;
  public $groupDerivationModelDefault = NULL;

  /**
   * Ldap_authorization configuration.
   */
  public $deriveFromDn = FALSE;
  public $deriveFromAttr = FALSE;
  public $deriveFromEntry = FALSE;
  public $groupMembershipsAttr = NULL;

  /**
   * Can be removed in 2.0 branch.
   */
  public $groupMembershipsAttrMatchingUserAttr = FALSE;

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

}

Members

Namesort descending Modifiers Type Description Overrides
LdapTypeAbstract::$deriveFromAttr public property 1
LdapTypeAbstract::$deriveFromDn public property Ldap_authorization configuration.
LdapTypeAbstract::$deriveFromEntry public property
LdapTypeAbstract::$description public property 5
LdapTypeAbstract::$encrypted public property 4
LdapTypeAbstract::$groupDerivationModelDefault public property 3
LdapTypeAbstract::$groupMembershipsAttr public property 2
LdapTypeAbstract::$groupMembershipsAttrMatchingUserAttr public property Can be removed in 2.0 branch. 2
LdapTypeAbstract::$groupObjectClassDefault public property 3
LdapTypeAbstract::$mail_attr public property 5
LdapTypeAbstract::$name public property 5
LdapTypeAbstract::$port public property Ldap_servers configuration. 4
LdapTypeAbstract::$tls public property 5
LdapTypeAbstract::$typeId public property 5
LdapTypeAbstract::$user_attr public property 5
LdapTypeAbstract::__construct public function Constructor Method. 1