__construct()
__toString()
addAnd()
addOr()
escapeValue()
negate()
toString()
unescapeValue()
$filter
Zend\Ldap\Filter\StringFilter provides a simple custom string filter.
__construct(string $filter)
string
__toString() : string
see | \Zend\Ldap\Filter\toString() |
---|---|
inherited_from | \Zend\Ldap\Filter\AbstractFilter::__toString() |
string
addAnd($filter) : \Zend\Ldap\Filter\AndFilter
inherited_from | \Zend\Ldap\Filter\AbstractFilter::addAnd() |
---|
addOr($filter) : \Zend\Ldap\Filter\OrFilter
inherited_from | \Zend\Ldap\Filter\AbstractFilter::addOr() |
---|
escapeValue(string | array $values) : array
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.
see | \Zend\Ldap\Filter\Net_LDAP2_Util::escape_filter_value() |
---|---|
link | http://pear.php.net/package/Net_LDAP2 |
author | Benedikt Hallinger |
inherited_from | \Zend\Ldap\Filter\AbstractFilter::escapeValue() |
stringarray
Array of values to escape
array
Array $values, but escapedtoString() : string
string
unescapeValue(string | array $values) : array
Converts any sequences of a backslash followed by two hex digits into the corresponding character.
see | \Zend\Ldap\Filter\Net_LDAP2_Util::escape_filter_value() |
---|---|
link | http://pear.php.net/package/Net_LDAP2 |
author | Benedikt Hallinger |
inherited_from | \Zend\Ldap\Filter\AbstractFilter::unescapeValue() |
stringarray
Array of values to escape
array
Array $values, but unescaped$filter : string