Ldap/Node/Collection.php
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 [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Ldap
- Subpackage
- Node
- Version
- $Id: Collection.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Ldap_Node_Collection
Zend_Ldap_Node_Collection provides a collecion of nodes.
- Parent(s)
- \Zend_Ldap_Collection
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties

array $_cache = array()Container for item caching to speed up multiple iterations
Inherited from: \Zend_Ldap_Collection::$$_cachearray()Details- Type
- array
- Inherited_from
- \Zend_Ldap_Collection::$$_cache

integer $_current = -1
-1Details- Type
- integer
- Inherited_from
- \Zend_Ldap_Collection::$$_current

\Zend_Ldap_Collection_Iterator_Default $_iterator = null
nullDetails- Type
- \Zend_Ldap_Collection_Iterator_Default
- Inherited_from
- \Zend_Ldap_Collection::$$_iterator
Methods

__construct(\Zend_Ldap_Collection_Iterator_Default $iterator) : void
| Name | Type | Description |
|---|---|---|
| $iterator | \Zend_Ldap_Collection_Iterator_Default |

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

count() : intReturns the number of items in current result Implements Countable
Inherited from: \Zend_Ldap_Collection::count()| Type | Description |
|---|---|
| int |

current() : array | nullReturn the current result item Implements Iterator
Inherited from: \Zend_Ldap_Collection::current()| Type | Description |
|---|---|
| array | null |
| Exception | Description |
|---|---|
| \Zend_Ldap_Exception |

getInnerIterator() : \Zend_Ldap_Collection_Iterator_Default
| Type | Description |
|---|---|
| \Zend_Ldap_Collection_Iterator_Default |

key() : stringReturn the child key (DN).
Implements Iterator and RecursiveIterator
| Type | Description |
|---|---|
| string |

next() : voidMove forward to next result item Implements Iterator
Inherited from: \Zend_Ldap_Collection::next()| Exception | Description |
|---|---|
| \Zend_Ldap_Exception |

rewind() : voidRewind the Iterator to the first result item Implements Iterator
Inherited from: \Zend_Ldap_Collection::rewind()| Exception | Description |
|---|---|
| \Zend_Ldap_Exception |

valid() : booleanCheck if there is a current result item after calls to rewind() or next() Implements Iterator
Inherited from: \Zend_Ldap_Collection::valid()| Type | Description |
|---|---|
| boolean |