public static function Server::ldapExplodeDn in Lightweight Directory Access Protocol (LDAP) 8.3
Wrapper for ldap_explode_dn().
Helpful for unit testing without the PHP LDAP module.
Parameters
string $dn: DN to explode.
int $attribute: Attribute.
Return value
array Exploded DN.
4 calls to Server::ldapExplodeDn()
- LDAPAuthorizationProvider::sanitizeProposals in ldap_authorization/
src/ Plugin/ authorization/ Provider/ LDAPAuthorizationProvider.php - Sanitize proposals.
- Server::getAllRdnValuesFromDn in ldap_servers/
src/ Entity/ Server.php - Returns all RDN values from DN.
- Server::getFirstRdnValueFromDn in ldap_servers/
src/ Entity/ Server.php - Return the first RDN Value from DN.
- TokenProcessor::ldapTokenizationProcessDnParts in ldap_servers/
src/ Processor/ TokenProcessor.php - Tokenization of DN parts.
File
- ldap_servers/
src/ Entity/ Server.php, line 1766
Class
- Server
- Defines the Server entity.
Namespace
Drupal\ldap_servers\EntityCode
public static function ldapExplodeDn($dn, $attribute) {
return ldap_explode_dn($dn, $attribute);
}