You are here

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

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

File

ldap_servers/LdapServerAdmin.class.php, line 495

Class

LdapServerAdmin

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;
}