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) : void
Creates a new Zend_Ldap_Filter.
ParametersName | 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
staticCreate a filter string.
ParametersName | Type | Description |
---|
$attr | string | |
---|
$value | string | |
---|
$filtertype | string | |
---|
$prepend | string | |
---|
$append | string | |
---|
Returns 


andFilter( $filter) : \Zend_Ldap_Filter_And
staticCreates an 'and' filter.
ParametersName | Type | Description |
---|
$filter | | |
---|
Returns 


any(string $attr) : \Zend_Ldap_Filter
staticCreates an 'any' filter.
(attr=*)
ParametersName | Type | Description |
---|
$attr | string | |
---|
Returns


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


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


contains(string $attr, string $value) : \Zend_Ldap_Filter
staticCreates a 'contains' filter.
(attr=*value*)
ParametersName | Type | Description |
---|
$attr | string | |
---|
$value | string | |
---|
Returns


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


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


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


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


less(string $attr, string $value) : \Zend_Ldap_Filter
staticCreates a 'less' filter.
(attr
ParametersName | Type | Description |
---|
$attr | string | |
---|
$value | string | |
---|
Returns


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


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


orFilter( $filter) : \Zend_Ldap_Filter_Or
staticCreates an 'or' filter.
ParametersName | Type | Description |
---|
$filter | | |
---|
Returns 


string(string $filter) : \Zend_Ldap_Filter_String
staticCreates a simple custom string filter.
ParametersName | Type | Description |
---|
$filter | string | |
---|
Returns