public function LdapAuthorizationConsumerDrupalRole::__construct in Lightweight Directory Access Protocol (LDAP) 7.2
Same name and namespace in other branches
- 8.2 ldap_authorization/ldap_authorization_drupal_role/LdapAuthorizationConsumerRole.class.php \LdapAuthorizationConsumerDrupalRole::__construct()
- 7 ldap_authorization/ldap_authorization_drupal_role/LdapAuthorizationConsumerRole.class.php \LdapAuthorizationConsumerDrupalRole::__construct()
Constructor Method.
Parameters
string $consumer_type: e.g. drupal_role, og_group.
array $params: as associative array of default properties.
Overrides LdapAuthorizationConsumerAbstract::__construct
File
- ldap_authorization/
ldap_authorization_drupal_role/ LdapAuthorizationConsumerRole.class.php, line 29
Class
Code
public function __construct($consumer_type = NULL) {
$params = ldap_authorization_drupal_role_ldap_authorization_consumer();
parent::__construct('drupal_role', $params['drupal_role']);
}