You are here

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

Same name and namespace in other branches
  1. 8.2 ldap_authorization/LdapAuthorizationConsumerAbstract.class.php \LdapAuthorizationConsumerAbstract::sortConsumerIds()
  2. 7.2 ldap_authorization/LdapAuthorizationConsumerAbstract.class.php \LdapAuthorizationConsumerAbstract::sortConsumerIds()

some authorization schemes such as organic groups, require a certain order. implement this method to sort consumer ids/authorization ids

Parameters

string $op 'grant' or 'revoke' signifying what to do with the $consumer_ids:

alters $consumer_ids by reference

1 call to LdapAuthorizationConsumerAbstract::sortConsumerIds()
LdapAuthorizationConsumerAbstract::grantsAndRevokes in ldap_authorization/LdapAuthorizationConsumerAbstract.class.php
1 method overrides LdapAuthorizationConsumerAbstract::sortConsumerIds()
LdapAuthorizationConsumerOG::sortConsumerIds in ldap_authorization/ldap_authorization_og/LdapAuthorizationConsumerOG.class.php
some authorization schemes such as organic groups, require a certain order. implement this method to sort consumer ids/authorization ids before they are granted to the user

File

ldap_authorization/LdapAuthorizationConsumerAbstract.class.php, line 201
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 sortConsumerIds($op, &$consumer_ids) {
}