PHP Класс Symfony\Component\Form\Util\OrderedHashMapIterator

Автор: Bernhard Schussek ([email protected])
Наследование: implements Iterator
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( array &$elements, array &$orderedKeys, array &$managedCursors ) Creates a new iterator.
__destruct ( ) Removes the iterator's cursors from the managed cursors of the corresponding {@link OrderedHashMap} instance.
current ( )
key ( )
next ( )
rewind ( )
valid ( )

Описание методов

__construct() публичный Метод

Creates a new iterator.
public __construct ( array &$elements, array &$orderedKeys, array &$managedCursors )
$elements array The elements of the map, indexed by their keys.
$orderedKeys array The keys of the map in the order in which they should be iterated.
$managedCursors array An array from which to reference the iterator's cursor as long as it is alive. This array is managed by the corresponding {@link OrderedHashMap} instance to support recognizing the deletion of elements.

__destruct() публичный Метод

Removes the iterator's cursors from the managed cursors of the corresponding {@link OrderedHashMap} instance.
public __destruct ( )

current() публичный Метод

public current ( )

key() публичный Метод

public key ( )

next() публичный Метод

public next ( )

rewind() публичный Метод

public rewind ( )

valid() публичный Метод

public valid ( )