API Documentation

Ldap/Node/ChildrenIterator.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Ldap
subpackage
Node
version
$Id: ChildrenIterator.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Ldap_Node_ChildrenIterator

Description

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_Node_ChildrenIterator

Implements
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Ldap
subpackage
Node
Properties
$_data
Methods
__construct
count
current
key
next
rewind
valid
hasChildren
getChildren
offsetGet
offsetExists
offsetUnset
offsetSet
toArray

Description

Zend_Ldap_Node_ChildrenIterator provides an iterator to a collection of children nodes.

Properties

$_data

array $_data = ''

An array of Zend_Ldap_Node objects

Details

$_data
array
visibility
private
default
final
false
static
false

Methods

__construct

__construct( array $data ) : void

Constructor.

Arguments
$data
array
Details
visibility
public
final
false
static
false

count

count( ) : int

Returns the number of child nodes.

Implements Countable

Output
int
Details
visibility
public
final
false
static
false

current

current( ) : Zend_Ldap_Node

Return the current child.

Implements Iterator

Details
visibility
public
final
false
static
false

getChildren

getChildren( ) : Zend_Ldap_Node_ChildrenIterator

Returns the children for the current node.

Details
visibility
public
final
false
static
false

hasChildren

hasChildren( ) : boolean

Checks if current node has children.

Returns whether the current element has children.

Output
boolean
Details
visibility
public
final
false
static
false

key

key( ) : string

Return the child'd RDN.

Implements Iterator

Output
string
Details
visibility
public
final
false
static
false

next

next( ) :

Move forward to next child.

Implements Iterator

Details
visibility
public
final
false
static
false

offsetExists

offsetExists( string $rdn ) : boolean

Checks whether a given rdn exists.

Implements ArrayAccess.

Arguments
$rdn
string
Output
boolean
Details
visibility
public
final
false
static
false

offsetGet

offsetGet( string $rdn ) : Zend_Ldap_node

Returns a child with a given RDN.

Implements ArrayAccess.

Arguments
$rdn
string
Output
Zend_Ldap_node
Details
visibility
public
final
false
static
false

offsetSet

offsetSet( string $name, mixed $value ) : null

Does nothing.

Implements ArrayAccess.

Arguments
$name
string
$value
mixed
Output
null
Details
visibility
public
final
false
static
false

offsetUnset

offsetUnset( string $name ) : null

Does nothing.

Implements ArrayAccess.

Arguments
$name
string
Output
null
Details
visibility
public
final
false
static
false

rewind

rewind( ) :

Rewind the Iterator to the first child.

Implements Iterator

Details
visibility
public
final
false
static
false

toArray

toArray( ) : array

Get all children as an array

Output
array
Details
visibility
public
final
false
static
false

valid

valid( ) : boolean

Check if there is a current child after calls to rewind() or next().

Implements Iterator

Output
boolean
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.