getLdapGroupPattern($input)); } catch (LdapException $e) { $this->logger->error($e->getMessage()); return array(); } } /** * Get LDAP group pattern * * @access public * @param string $input * @return string */ public function getLdapGroupPattern($input) { if (LDAP_GROUP_FILTER === '') { throw new LogicException('LDAP group filter empty, check the parameter LDAP_GROUP_FILTER'); } return sprintf(LDAP_GROUP_FILTER, $input); } }