Zend Framework
1.12
|
Public Member Functions | |
__construct (Zend_Ldap $ldap, $resultId) | |
Constructor. | |
__destruct () | |
close () | |
Closes the current result set. | |
getLdap () | |
Gets the current LDAP connection. | |
setAttributeNameTreatment ($attributeNameTreatment) | |
Sets the attribute name treatment. | |
getAttributeNameTreatment () | |
Returns the currently set attribute name treatment. | |
count () | |
Returns the number of items in current result Implements Countable. | |
current () | |
Return the current result item Implements Iterator. | |
key () | |
Return the result item key Implements Iterator. | |
next () | |
Move forward to next result item Implements Iterator. | |
rewind () | |
Rewind the Iterator to the first result item Implements Iterator. | |
valid () | |
Check if there is a current result item after calls to rewind() or next() Implements Iterator. | |
Public Attributes | |
const | ATTRIBUTE_TO_LOWER = 1 |
const | ATTRIBUTE_TO_UPPER = 2 |
const | ATTRIBUTE_NATIVE = 3 |
Protected Attributes | |
$_ldap = null | |
$_resultId = null | |
$_current = null | |
$_itemCount = -1 | |
$_attributeNameTreatment = self::ATTRIBUTE_TO_LOWER | |
__construct | ( | Zend_Ldap | $ldap, |
$resultId | |||
) |
__destruct | ( | ) |
close | ( | ) |
Closes the current result set.
count | ( | ) |
Returns the number of items in current result Implements Countable.
current | ( | ) |
Return the current result item Implements Iterator.
Zend_Ldap_Exception |
getAttributeNameTreatment | ( | ) |
Returns the currently set attribute name treatment.
getLdap | ( | ) |
Gets the current LDAP connection.
key | ( | ) |
next | ( | ) |
Move forward to next result item Implements Iterator.
Zend_Ldap_Exception |
rewind | ( | ) |
Rewind the Iterator to the first result item Implements Iterator.
Zend_Ldap_Exception |
setAttributeNameTreatment | ( | $attributeNameTreatment | ) |
Sets the attribute name treatment.
Can either be one of the following constants
integer | callback | $attributeNameTreatment |
valid | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
const ATTRIBUTE_NATIVE = 3 |
const ATTRIBUTE_TO_LOWER = 1 |
const ATTRIBUTE_TO_UPPER = 2 |