IteratorAggregate
PHP Manual

IteratorAggregate::getIterator

(PHP 5 >= 5.0.0)

IteratorAggregate::getIteratorRetrieve an external iterator

Opis

abstract public Traversable IteratorAggregate::getIterator ( void )

Returns an external iterator.

Parametry

Ta funkcja nie posiada parametrów.

Zwracane wartości

An instance of an object implementing Iterator or Traversable

Błędy/Wyjątki

Throws an Exception on failure.


IteratorAggregate
PHP Manual