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.

__construct(
string $attr, string $value, string $filtertype, string $prepend
=
null, string $append
=
null
)
:
void
Creates a new Zend_Ldap_Filter.
Name | Type | Description |
---|---|---|
$attr | string | |
$value | string | |
$filtertype | string | |
$prepend | string | |
$append | string |

_createFilterString(
string $attr, string $value, string $filtertype, string $prepend
=
null, string $append
=
null
)
:
string
Create a filter string.
Name | Type | Description |
---|---|---|
$attr | string | |
$value | string | |
$filtertype | string | |
$prepend | string | |
$append | string |
Type | Description |
---|---|
string |

approx(
string $attr, string $value
)
:
\Zend_Ldap_Filter
Creates an 'approx' filter.
(attr~=value)
Name | Type | Description |
---|---|---|
$attr | string | |
$value | string |
Type | Description |
---|---|
\Zend_Ldap_Filter |

begins(
string $attr, string $value
)
:
\Zend_Ldap_Filter
Creates a 'begins with' filter.
(attr=value*)
Name | Type | Description |
---|---|---|
$attr | string | |
$value | string |
Type | Description |
---|---|
\Zend_Ldap_Filter |

contains(
string $attr, string $value
)
:
\Zend_Ldap_Filter
Creates a 'contains' filter.
(attr=value)
Name | Type | Description |
---|---|---|
$attr | string | |
$value | string |
Type | Description |
---|---|
\Zend_Ldap_Filter |

ends(
string $attr, string $value
)
:
\Zend_Ldap_Filter
Creates an 'ends with' filter.
(attr=*value)
Name | Type | Description |
---|---|---|
$attr | string | |
$value | string |
Type | Description |
---|---|
\Zend_Ldap_Filter |

equals(
string $attr, string $value
)
:
\Zend_Ldap_Filter
Creates an 'equals' filter.
(attr=value)
Name | Type | Description |
---|---|---|
$attr | string | |
$value | string |
Type | Description |
---|---|
\Zend_Ldap_Filter |

greater(
string $attr, string $value
)
:
\Zend_Ldap_Filter
Creates a 'greater' filter.
(attr>value)
Name | Type | Description |
---|---|---|
$attr | string | |
$value | string |
Type | Description |
---|---|
\Zend_Ldap_Filter |

greaterOrEqual(
string $attr, string $value
)
:
\Zend_Ldap_Filter
Creates a 'greater or equal' filter.
(attr>=value)
Name | Type | Description |
---|---|---|
$attr | string | |
$value | string |
Type | Description |
---|---|
\Zend_Ldap_Filter |

less(
string $attr, string $value
)
:
\Zend_Ldap_Filter
Creates a 'less' filter.
(attr<value)
Name | Type | Description |
---|---|---|
$attr | string | |
$value | string |
Type | Description |
---|---|
\Zend_Ldap_Filter |

lessOrEqual(
string $attr, string $value
)
:
\Zend_Ldap_Filter
Creates an 'less or equal' filter.
(attr<=value)
Name | Type | Description |
---|---|---|
$attr | string | |
$value | string |
Type | Description |
---|---|
\Zend_Ldap_Filter |

mask(
string $mask, string $value
)
:
\Zend_Ldap_Filter_Mask
Creates a simple string filter to be used with a mask.
Name | Type | Description |
---|---|---|
$mask | string | |
$value | string |
Type | Description |
---|---|
\Zend_Ldap_Filter_Mask |