You are here

public function LdapAuthorizationConsumerAbstract::createConsumers in Lightweight Directory Access Protocol (LDAP) 7

create authorization consumers

Parameters

array $creates an array of authorization consumer ids in form array(id1, id2, id3,...):

return array in form array(id1, id2, id3,...) representing all existing consumer ids ($this->availableConsumerIDs())

1 call to LdapAuthorizationConsumerAbstract::createConsumers()
LdapAuthorizationConsumerAbstract::grantsAndRevokes in ldap_authorization/LdapAuthorizationConsumerAbstract.class.php
1 method overrides LdapAuthorizationConsumerAbstract::createConsumers()
LdapAuthorizationConsumerDrupalRole::createConsumers in ldap_authorization/ldap_authorization_drupal_role/LdapAuthorizationConsumerRole.class.php
extends createConsumer method of base class

File

ldap_authorization/LdapAuthorizationConsumerAbstract.class.php, line 137
abstract class to represent an ldap_authorization consumer such as drupal_role, og_group, etc. each authorization comsumer will extend this class with its own class named LdapAuthorizationConsumer<consumer type> such as…

Class

LdapAuthorizationConsumerAbstract
@file abstract class to represent an ldap_authorization consumer such as drupal_role, og_group, etc. each authorization comsumer will extend this class with its own class named LdapAuthorizationConsumer<consumer type> such as…

Code

public function createConsumers($creates) {

  // method must be overridden
}