You are here

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

2 calls to LdapAuthorizationConsumerConfAdmin::arrayToLines()
LdapAuthorizationConsumerConfAdmin::drupalForm in ldap_authorization/LdapAuthorizationConsumerConfAdmin.class.php
LdapAuthorizationConsumerConfAdmin::save in ldap_authorization/LdapAuthorizationConsumerConfAdmin.class.php

File

ldap_authorization/LdapAuthorizationConsumerConfAdmin.class.php, line 995

Class

LdapAuthorizationConsumerConfAdmin
LDAP Authorization Consumer Configration Admin Class

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