IteratorAggregate
PHP 手册

IteratorAggregate::getIterator

(No version information available, might be only in CVS)

IteratorAggregate::getIteratorRetrieve an external iterator

说明

abstract public Traversable IteratorAggregate::getIterator ( void )

Returns an external iterator.

参数

This function has no parameters.

返回值

An instance of an object implementing Iterator or Traversable

错误/异常

Throws an Exception on failure.


IteratorAggregate
PHP 手册