You are here

protected function LdapAuthenticationConfAdmin::arrayToLines in Lightweight Directory Access Protocol (LDAP) 7

Same name and namespace in other branches
  1. 8.2 ldap_authentication/LdapAuthenticationConfAdmin.class.php \LdapAuthenticationConfAdmin::arrayToLines()
  2. 7.2 ldap_authentication/LdapAuthenticationConfAdmin.class.php \LdapAuthenticationConfAdmin::arrayToLines()
1 call to LdapAuthenticationConfAdmin::arrayToLines()
LdapAuthenticationConfAdmin::drupalForm in ldap_authentication/LdapAuthenticationConfAdmin.class.php

File

ldap_authentication/LdapAuthenticationConfAdmin.class.php, line 588

Class

LdapAuthenticationConfAdmin

Code

protected function arrayToLines($array) {
  $lines = "";
  if (is_array($array)) {
    $lines = join("\n", $array);
  }
  elseif (is_array(@unserialize($array))) {
    $lines = join("\n", unserialize($array));
  }
  return $lines;
}