You are here

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

get list of all authorization consumer ids available to a this authorization consumer. For example for drupal_roles, this would be an array of drupal roles such as array('admin', 'author', 'reviewer',... ). For organic groups in might be all the names of organic groups.

return array in form array(id1, id2, id3,...)

1 call to LdapAuthorizationConsumerAbstract::availableConsumerIDs()
LdapAuthorizationConsumerAbstract::grantsAndRevokes in ldap_authorization/LdapAuthorizationConsumerAbstract.class.php
2 methods override LdapAuthorizationConsumerAbstract::availableConsumerIDs()
LdapAuthorizationConsumerDrupalRole::availableConsumerIDs in ldap_authorization/ldap_authorization_drupal_role/LdapAuthorizationConsumerRole.class.php
get list of all authorization consumer ids available to a this authorization consumer. For example for drupal_roles, this would be an array of drupal roles such as array('admin', 'author', 'reviewer',... ). For organic…
LdapAuthorizationConsumerOG::availableConsumerIDs in ldap_authorization/ldap_authorization_og/LdapAuthorizationConsumerOG.class.php
* Return list of all available consumer ids/authorization ids *

File

ldap_authorization/LdapAuthorizationConsumerAbstract.class.php, line 123
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 availableConsumerIDs() {

  // method must be overridden
}