Ldap/Filter.php
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.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Ldap
- Subpackage
- Filter
- Version
- $Id$
Package: Zend_Ldap\FilterZend_Ldap_Filter.
- Parent(s)
- \Zend_Ldap_Filter_String
<
\Zend_Ldap_Filter_Abstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Constants


TYPE_GREATEROREQUAL
= '>='Methods



__construct(string $attr, string $value, string $filtertype, string $prepend = null, string $append = null) : voidCreates a new Zend_Ldap_Filter.
Parameters| 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) : stringstaticCreate a filter string.
Parameters| Name | Type | Description |
|---|
| $attr | string | |
|---|
| $value | string | |
|---|
| $filtertype | string | |
|---|
| $prepend | string | |
|---|
| $append | string | |
|---|
Returns 


andFilter( $filter) : \Zend_Ldap_Filter_AndstaticCreates an 'and' filter.
Parameters| Name | Type | Description |
|---|
| $filter | | |
|---|
Returns 


any(string $attr) : \Zend_Ldap_FilterstaticCreates an 'any' filter.
(attr=*)
Parameters| Name | Type | Description |
|---|
| $attr | string | |
|---|
Returns


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


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


contains(string $attr, string $value) : \Zend_Ldap_FilterstaticCreates a 'contains' filter.
(attr=*value*)
Parameters| Name | Type | Description |
|---|
| $attr | string | |
|---|
| $value | string | |
|---|
Returns


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


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


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


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


less(string $attr, string $value) : \Zend_Ldap_FilterstaticCreates a 'less' filter.
(attr
Parameters| Name | Type | Description |
|---|
| $attr | string | |
|---|
| $value | string | |
|---|
Returns


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


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


orFilter( $filter) : \Zend_Ldap_Filter_OrstaticCreates an 'or' filter.
Parameters| Name | Type | Description |
|---|
| $filter | | |
|---|
Returns 


string(string $filter) : \Zend_Ldap_Filter_StringstaticCreates a simple custom string filter.
Parameters| Name | Type | Description |
|---|
| $filter | string | |
|---|
Returns