src/LdapTools/Query/OperatorCollection.php
protected function getLdapFilterForAliases()
    {
        $filters = [];

        foreach (array_keys($this->aliases) as $alias) {
            $filters[] = $this->getLdapFilter($alias);
        }

        if (count($filters) == 1) {
            return $filters[0];
        } else {
            return bOr::SEPARATOR_START.bOr::SYMBOL.implode('', $filters).bOr::SEPARATOR_END;
        }
    }
protected function getLdapFilterForAliases()
    {
        $filters = [];

        foreach (array_keys($this->aliases) as $alias) {
            $filters[] = $this->getLdapFilter($alias);
        }

        if (count($filters) == 1) {
            return $filters[0];
        } else {
            return bOr::SEPARATOR_START.bOr::SYMBOL.implode('', $filters).bOr::SEPARATOR_END;
        }
    }
protected function getLdapFilterForAliases ( ) { $ filters = [ ] ; foreach ( array_keys ( $ this -> aliases ) as $ alias ) { $ filters [ ] = $ this -> getLdapFilter ( $ alias ) ; } if ( count ( $ filters ) == 1 ) { return $ filters [ 0 ] ; } else { return bOr :: SEPARATOR_START . bOr :: SYMBOL . implode ( '' , $ filters ) . bOr :: SEPARATOR_END ; } }
Constructs a filter for multiple aliases that would return the requested LDAP objects in a single query.

@return string
Constructs a filter for multiple aliases that would return the requested LDAP objects in a single query .