Example:
$filter = Horde_Ldap_Filter::combine('or', array($filter1, $filter2));
If the array contains filter strings instead of filter objects, they
will be parsed. public static combine ( string $operator, array | Horde_Ldap_Filter | string $filters ) : Horde_Ldap_Filter | ||
$operator | string | The logical operator, either "and", "or", "not" or the logical equivalents "&", "|", "!". |
$filters | array | Horde_Ldap_Filter | string | Array with Horde_Ldap_Filter objects and/or strings or a single filter when using the "not" operator. |
return | Horde_Ldap_Filter |