public function LdapAuthorizationConsumerOG::og1ConsumerIdParts in Lightweight Directory Access Protocol (LDAP) 8.2
5 calls to LdapAuthorizationConsumerOG::og1ConsumerIdParts()
- LdapAuthorizationConsumerOG::authorizationDiff in ldap_authorization/
ldap_authorization_og/ LdapAuthorizationConsumerOG.class.php - LdapAuthorizationConsumerOG::flushRelatedCaches in ldap_authorization/
ldap_authorization_og/ LdapAuthorizationConsumerOG.class.php - attempt to flush related caches. This will be something like og_invalidate_cache($gids)
- LdapAuthorizationConsumerOG::grantsAndRevokes in ldap_authorization/
ldap_authorization_og/ LdapAuthorizationConsumerOG.class.php - LdapAuthorizationConsumerOG::hasAuthorization in ldap_authorization/
ldap_authorization_og/ LdapAuthorizationConsumerOG.class.php - NOTE this is in mixed case, since we must rely on whatever module is storing the authorization id
- LdapAuthorizationConsumerOG::populateConsumersFromConsumerIds in ldap_authorization/
ldap_authorization_og/ LdapAuthorizationConsumerOG.class.php
File
- ldap_authorization/
ldap_authorization_og/ LdapAuthorizationConsumerOG.class.php, line 52
Class
Code
public function og1ConsumerIdParts($consumer_id) {
if (!is_scalar($consumer_id)) {
return array(
NULL,
NULL,
);
}
$parts = explode('-', $consumer_id);
return count($parts) != 2 ? array(
NULL,
NULL,
) : $parts;
}