You are here

protected function LdapAuthorizationConsumerConfAdmin::mappingsToPipeList in Lightweight Directory Access Protocol (LDAP) 8.2

Same name and namespace in other branches
  1. 7.2 ldap_authorization/LdapAuthorizationConsumerConfAdmin.class.php \LdapAuthorizationConsumerConfAdmin::mappingsToPipeList()
1 call to LdapAuthorizationConsumerConfAdmin::mappingsToPipeList()
LdapAuthorizationConsumerConfAdmin::drupalForm in ldap_authorization/LdapAuthorizationConsumerConfAdmin.class.php

File

ldap_authorization/LdapAuthorizationConsumerConfAdmin.class.php, line 521

Class

LdapAuthorizationConsumerConfAdmin
LDAP Authorization Consumer Configration Admin Class

Code

protected function mappingsToPipeList($mappings) {
  $result_text = "";
  foreach ($mappings as $map) {
    $result_text .= $map['from'] . '|' . $map['user_entered'] . "\n";
  }
  return $result_text;
}