Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Zend_Ldap_Filter_Not provides a negation filter.

__construct(
\Zend_Ldap_Filter_Abstract $filter
)
:
void
Creates a Zend_Ldap_Filter_Not.
Name | Type | Description |
---|---|---|
$filter | \Zend_Ldap_Filter_Abstract |

__toString(
)
:
string
Returns a string representation of the filter.
Inherited from: \Zend_Ldap_Filter_Abstract::__toString()Type | Description |
---|---|
string |

addAnd(
$filter
)
:
\Zend_Ldap_Filter_And
Creates an 'and' filter.
Inherited from: \Zend_Ldap_Filter_Abstract::addAnd()
addOr(
$filter
)
:
\Zend_Ldap_Filter_Or
Creates an 'or' filter.
Inherited from: \Zend_Ldap_Filter_Abstract::addOr()
escapeValue(
string|array $values
=
array
)
:
array
Escapes the given VALUES according to RFC 2254 so that they can be safely used in LDAP filters.
Inherited from: \Zend_Ldap_Filter_Abstract::escapeValue()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.
Name | Type | Description |
---|---|---|
$values | string|array | Array of values to escape |
Type | Description |
---|---|
array | Array $values, but escaped |

negate(
)
:
\Zend_Ldap_Filter_Abstract
Negates the filter.
Type | Description |
---|---|
\Zend_Ldap_Filter_Abstract |

unescapeValue(
string|array $values
=
array
)
:
array
Undoes the conversion done by {@link escapeValue()}.
Inherited from: \Zend_Ldap_Filter_Abstract::unescapeValue()Converts any sequences of a backslash followed by two hex digits into the corresponding character.
Name | Type | Description |
---|---|---|
$values | string|array | Array of values to escape |
Type | Description |
---|---|
array | Array $values, but unescaped |