ZendLdapCollectionDefaultIterator is the default collection iterator implementation using ext/ldap
Constructor.
| Parameters: |
|
|---|---|
| Throws ZendLdapExceptionLdapException: | |
if no entries was found. |
|
| Return type: | DefaultIterator |
Closes the current result set
| Return type: | bool |
|---|
Sets the attribute name treatment.
Can either be one of the following constants - ZendLdapCollectionDefaultIterator::ATTRIBUTE_TO_LOWER - ZendLdapCollectionDefaultIterator::ATTRIBUTE_TO_UPPER - ZendLdapCollectionDefaultIterator::ATTRIBUTE_NATIVE or a valid callback accepting the attribute’s name as it’s only argument and returning the new attribute’s name.
| Parameters: | integer|callable – |
|---|---|
| Return type: | DefaultIterator Provides a fluent interface |
Returns the currently set attribute name treatment
| Return type: | integer|callable |
|---|
Returns the number of items in current result Implements Countable
| Return type: | int |
|---|
Return the current result item Implements Iterator
| Return type: | array|null |
|---|---|
| Throws : | ZendLdapExceptionLdapException |
Return the result item key Implements Iterator
| Return type: | string|null |
|---|
Move forward to next result item Implements Iterator
Rewind the Iterator to the first result item Implements Iterator
Check if there is a current result item after calls to rewind() or next() Implements Iterator
| Return type: | bool |
|---|