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.
Zend_Ldap_Collection wraps a list of LDAP entries.

array
$_cache= 'array()'
Container for item caching to speed up multiple iterations
array()
Details
__construct(
\Zend_Ldap_Collection_Iterator_Default $iterator
)
:
void
Constructor.
Name | Type | Description |
---|---|---|
$iterator | \Zend_Ldap_Collection_Iterator_Default |

_createEntry(
array $data
)
:
array
Creates the data structure for the given entry data
Name | Type | Description |
---|---|---|
$data | array |
Type | Description |
---|---|
array |

count(
)
:
int
Returns the number of items in current result Implements Countable
Type | Description |
---|---|
int |

getInnerIterator(
)
:
\Zend_Ldap_Collection_Iterator_Default
Returns the underlying iterator
Type | Description |
---|---|
\Zend_Ldap_Collection_Iterator_Default |

key(
)
:
int|null
Return the current result item key Implements Iterator
Type | Description |
---|---|
int|null |

next(
)
:
void
Move forward to next result item Implements Iterator
Exception | Description |
---|---|
\Zend_Ldap_Exception |

rewind(
)
:
void
Rewind the Iterator to the first result item Implements Iterator
Exception | Description |
---|---|
\Zend_Ldap_Exception |