Abstract Class Zend_Ldap_Filter_Abstract

Description

Zend_Ldap_Filter_Abstract provides a base implementation for filters.

  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • abstract:
  • license: New BSD License

Located in /Ldap/Filter/Abstract.php (line 32)


	
			
Direct descendents
Class Description
Abstract class Zend_Ldap_Filter_Logical Zend_Ldap_Filter_Logical provides a base implementation for a grouping filter.
 class Zend_Ldap_Filter_Not Zend_Ldap_Filter_Not provides a negation filter.
 class Zend_Ldap_Filter_String Zend_Ldap_Filter_String provides a simple custom string filter.
Method Summary
 static array escapeValue ([string|array $values = array()])
 static array unescapeValue ([string|array $values = array()])
 string toString ()
 string __toString ()
Methods
static escapeValue (line 113)

Escapes the given VALUES according to RFC 2254 so that they can be safely used in LDAP filters.

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.

static array escapeValue ([string|array $values = array()])
  • string|array $values: Array of values to escape
static unescapeValue (line 143)

Undoes the conversion done by escapeValue().

Converts any sequences of a backslash followed by two hex digits into the corresponding character.

static array unescapeValue ([string|array $values = array()])
  • string|array $values: Array of values to escape
addAnd (line 72)

Creates an 'and' filter.

  • access: public
Zend_Ldap_Filter_And addAnd ( $filter, Zend_Ldap_Filter_Abstract $filter,...)
addOr (line 89)

Creates an 'or' filter.

  • access: public
Zend_Ldap_Filter_Or addOr ( $filter, Zend_Ldap_Filter_Abstract $filter,...)
negate (line 57)

Negates the filter.

  • access: public

Redefined in descendants as:
toString (line 39)

Returns a string representation of the filter.

  • abstract:
  • access: public
string toString ()

Redefined in descendants as:
__toString (line 47)

Returns a string representation of the filter.

string __toString ()

Documentation generated on Mon, 21 Jun 2010 15:05:33 -0400 by phpDocumentor 1.4.3