3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
10 namespace Zend\Ldap\Node
;
15 * Zend\Ldap\Node\Collection provides a collection of nodes.
17 class Collection
extends Ldap\Collection
20 * Creates the data structure for the given entry data
23 * @return \Zend\Ldap\Node
25 protected function createEntry(array $data)
27 $node = Ldap\Node
::fromArray($data, true);
28 $node->attachLDAP($this->iterator
->getLDAP());
33 * Return the child key (DN).
34 * Implements Iterator and RecursiveIterator
40 return $this->iterator
->key();