Ldap/Filter.php

Show: PublicProtectedPrivateinherited
Table of Contents
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$  

\Zend_Ldap_Filter

Package: Zend_Ldap\Filter
Zend_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

>VConstant  TYPE_EQUALS = '='
>VConstant  TYPE_GREATER = '>'
>VConstant  TYPE_GREATEROREQUAL = '>='
>VConstant  TYPE_LESS = '<'
>VConstant  TYPE_LESSOREQUAL = '<='
>VConstant  TYPE_APPROX = '~='

Methods

methodpublic__construct(string $attr, string $value, string $filtertype, string $prepend = null, string $append = null) : void

Creates a new Zend_Ldap_Filter.

Parameters
NameTypeDescription
$attrstring
$valuestring
$filtertypestring
$prependstring
$appendstring
methodprivate_createFilterString(string $attr, string $value, string $filtertype, string $prepend = null, string $append = null) : string
static

Create a filter string.

Parameters
NameTypeDescription
$attrstring
$valuestring
$filtertypestring
$prependstring
$appendstring
Returns
TypeDescription
string
methodpublicandFilter( $filter) : \Zend_Ldap_Filter_And
static

Creates an 'and' filter.

Parameters
NameTypeDescription
$filter
Returns
TypeDescription
\Zend_Ldap_Filter_And
methodpublicany(string $attr) : \Zend_Ldap_Filter
static

Creates an 'any' filter.

(attr=*)
Parameters
NameTypeDescription
$attrstring
Returns
TypeDescription
\Zend_Ldap_Filter
methodpublicapprox(string $attr, string $value) : \Zend_Ldap_Filter
static

Creates an 'approx' filter.

(attr~=value)
Parameters
NameTypeDescription
$attrstring
$valuestring
Returns
TypeDescription
\Zend_Ldap_Filter
methodpublicbegins(string $attr, string $value) : \Zend_Ldap_Filter
static

Creates a 'begins with' filter.

(attr=value*)
Parameters
NameTypeDescription
$attrstring
$valuestring
Returns
TypeDescription
\Zend_Ldap_Filter
methodpubliccontains(string $attr, string $value) : \Zend_Ldap_Filter
static

Creates a 'contains' filter.

(attr=*value*)
Parameters
NameTypeDescription
$attrstring
$valuestring
Returns
TypeDescription
\Zend_Ldap_Filter
methodpublicends(string $attr, string $value) : \Zend_Ldap_Filter
static

Creates an 'ends with' filter.

(attr=*value)
Parameters
NameTypeDescription
$attrstring
$valuestring
Returns
TypeDescription
\Zend_Ldap_Filter
methodpublicequals(string $attr, string $value) : \Zend_Ldap_Filter
static

Creates an 'equals' filter.

(attr=value)
Parameters
NameTypeDescription
$attrstring
$valuestring
Returns
TypeDescription
\Zend_Ldap_Filter
methodpublicgreater(string $attr, string $value) : \Zend_Ldap_Filter
static

Creates a 'greater' filter.

(attr>value)
Parameters
NameTypeDescription
$attrstring
$valuestring
Returns
TypeDescription
\Zend_Ldap_Filter
methodpublicgreaterOrEqual(string $attr, string $value) : \Zend_Ldap_Filter
static

Creates a 'greater or equal' filter.

(attr>=value)
Parameters
NameTypeDescription
$attrstring
$valuestring
Returns
TypeDescription
\Zend_Ldap_Filter
methodpublicless(string $attr, string $value) : \Zend_Ldap_Filter
static

Creates a 'less' filter.

(attrParameters
NameTypeDescription
$attrstring
$valuestring
Returns
TypeDescription
\Zend_Ldap_Filter
methodpubliclessOrEqual(string $attr, string $value) : \Zend_Ldap_Filter
static

Creates an 'less or equal' filter.

(attr<=value)
Parameters
NameTypeDescription
$attrstring
$valuestring
Returns
TypeDescription
\Zend_Ldap_Filter
methodpublicmask(string $mask, string $value) : \Zend_Ldap_Filter_Mask
static

Creates a simple string filter to be used with a mask.

Parameters
NameTypeDescription
$maskstring
$valuestring
Returns
TypeDescription
\Zend_Ldap_Filter_Mask
methodpublicorFilter( $filter) : \Zend_Ldap_Filter_Or
static

Creates an 'or' filter.

Parameters
NameTypeDescription
$filter
Returns
TypeDescription
\Zend_Ldap_Filter_Or
methodpublicstring(string $filter) : \Zend_Ldap_Filter_String
static

Creates a simple custom string filter.

Parameters
NameTypeDescription
$filterstring
Returns
TypeDescription
\Zend_Ldap_Filter_String
Documentation was generated by phpDocumentor 2.2.0 .