Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

arrayiterator(3) [php man page]

ARRAYITERATOR(3)							 1							  ARRAYITERATOR(3)

The ArrayIterator class

INTRODUCTION
This iterator allows to unset and modify values and keys while iterating over Arrays and Objects. When you want to iterate over the same array multiple times you need to instantiate ArrayObject and let it create ArrayIterator instances that refer to it either by using foreach or by calling its getIterator() method manually. CLASS SYNOPSIS
ArrayIterator ArrayIteratorArrayAccessSeekableIteratorCountableSerializable Methods o public void ArrayIterator::append (mixed $value) o public void ArrayIterator::asort (void ) o public ArrayIterator::__construct ([mixed $array = array()], [int $flags]) o public int ArrayIterator::count (void ) o public mixed ArrayIterator::current (void ) o public array ArrayIterator::getArrayCopy (void ) o public void ArrayIterator::getFlags (void ) o public mixed ArrayIterator::key (void ) o public void ArrayIterator::ksort (void ) o public void ArrayIterator::natcasesort (void ) o public void ArrayIterator::natsort (void ) o public void ArrayIterator::next (void ) o public void ArrayIterator::offsetExists (string $index) o public mixed ArrayIterator::offsetGet (string $index) o public void ArrayIterator::offsetSet (string $index, string $newval) o public void ArrayIterator::offsetUnset (string $index) o public void ArrayIterator::rewind (void ) o public void ArrayIterator::seek (int $position) o public string ArrayIterator::serialize (void ) o public void ArrayIterator::setFlags (string $flags) o public void ArrayIterator::uasort (string $cmp_function) o public void ArrayIterator::uksort (string $cmp_function) o public string ArrayIterator::unserialize (string $serialized) o public bool ArrayIterator::valid (void ) PHP Documentation Group ARRAYITERATOR(3)

Check Out this Related Man Page

SPLQUEUE(3)								 1							       SPLQUEUE(3)

The SplQueue class

INTRODUCTION
The SplQueue class provides the main functionalities of a queue implemented using a doubly linked list. CLASS SYNOPSIS
SplQueue SplQueueextends SplDoublyLinkedListIteratorArrayAccessCountable Methods o SplQueue::__construct (void ) o mixed SplQueue::dequeue (void ) o void SplQueue::enqueue (mixed $value) o void SplQueue::setIteratorMode (int $mode) Inherited methods o public void SplDoublyLinkedList::add (mixed $index, mixed $newval) o public mixed SplDoublyLinkedList::bottom (void ) o public int SplDoublyLinkedList::count (void ) o public mixed SplDoublyLinkedList::current (void ) o public int SplDoublyLinkedList::getIteratorMode (void ) o public bool SplDoublyLinkedList::isEmpty (void ) o public mixed SplDoublyLinkedList::key (void ) o public void SplDoublyLinkedList::next (void ) o public bool SplDoublyLinkedList::offsetExists (mixed $index) o public mixed SplDoublyLinkedList::offsetGet (mixed $index) o public void SplDoublyLinkedList::offsetSet (mixed $index, mixed $newval) o public void SplDoublyLinkedList::offsetUnset (mixed $index) o public mixed SplDoublyLinkedList::pop (void ) o public void SplDoublyLinkedList::prev (void ) o public void SplDoublyLinkedList::push (mixed $value) o public void SplDoublyLinkedList::rewind (void ) o public string SplDoublyLinkedList::serialize (void ) o public void SplDoublyLinkedList::setIteratorMode (int $mode) o public mixed SplDoublyLinkedList::shift (void ) o public mixed SplDoublyLinkedList::top (void ) o public void SplDoublyLinkedList::unserialize (string $serialized) o public void SplDoublyLinkedList::unshift (mixed $value) o public bool SplDoublyLinkedList::valid (void ) PHP Documentation Group SPLQUEUE(3)
Man Page