You are here

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

Same name and namespace in other branches
  1. 8.2 ldap_query/LdapQueryAdmin.class.php \LdapQueryAdmin::arrayToLines()
  2. 7.2 ldap_query/LdapQueryAdmin.class.php \LdapQueryAdmin::arrayToLines()

File

ldap_query/LdapQueryAdmin.class.php, line 278

Class

LdapQueryAdmin

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