SeekableIterator::seekSeeks to a position Description
abstract public void SeekableIterator::seek
( int
$position
)Seeks to a given position in the iterator. Parameters
Return ValuesNo value is returned. Errors/Exceptions
Implementations should throw an OutOfBoundsException
if the Examples
Example #1 SeekableIterator::seek example Seek to the item at position 3 in the iterator (ArrayIterator implements SeekableIterator).
<?php The above example will output something similar to: damson See Also
|