Zend\Ldap\Filter\AbstractLogicalFilter
Zend\Ldap\Filter\AbstractLogicalFilter provides a base implementation for a grouping filter.
Synopsis
class AbstractLogicalFilter
extends AbstractFilter
{
- // constants
- const TYPE_AND = '&';
- const TYPE_OR = '|';
- // members
- private array $subfilters;
- private string $symbol;
- // methods
- protected void __construct()
- public AbstractLogicalFilter addFilter()
- public string toString()
- // Inherited methods from AbstractFilter
- public abstract string toString()
- public string __toString()
- public AbstractFilter negate()
- public AndFilter addAnd()
- public OrFilter addOr()
- public static array escapeValue()
- public static array unescapeValue()
Hierarchy
Extends
Extended by
Constants
Name | Value |
---|---|
TYPE_AND | '&' |
TYPE_OR | '|' |
Members
private
- $subfilters
—
array
All the sub-filters for this grouping filter. - $symbol
—
string
The grouping symbol.
Methods
public
- addFilter() — Adds a filter to this grouping filter.
- toString() — Returns a string representation of the filter.
Inherited from Zend\Ldap\Filter\AbstractFilter
public
- __toString() — Returns a string representation of the filter.
- addAnd() — Creates an 'and' filter.
- addOr() — Creates an 'or' filter.
- escapeValue() — Escapes the given VALUES according to RFC 2254 so that they can be safely used in LDAP filters.
- negate() — Negates the filter.
- toString() — Returns a string representation of the filter.
- unescapeValue() — Undoes the conversion done by {@link escapeValue()}.