ZendLdapFilterAbstractFilter provides a base implementation for filters.
Returns a string representation of the filter.
| Return type: | string |
|---|
Negates the filter.
| Return type: | AbstractFilter |
|---|
Creates an ‘and’ filter.
| Parameters: | AbstractFilter – |
|---|---|
| Return type: | AndFilter |
Escapes the given VALUES according to RFC 2254 so that they can be safely used in LDAP filters.
Any control characters with an ACII code < 32 as well as the characters with special meaning in LDAP filters “*”, “(”, ”)”, and “” (the backslash) are converted into the representation of a backslash followed by two hex digits representing the hexadecimal value of the character.
| Parameters: | string|array – Array of values to escape |
|---|---|
| Return type: | array Array $values, but escaped |