LimitIterator::seek

(PHP 5 >= 5.1.0, PHP 7)

LimitIterator::seekSeek to the given position

설명

public int LimitIterator::seek ( int $position )

Moves the iterator to the offset specified by position.

인수

position

The position to seek to.

반환값

Returns the offset position after seeking.

오류/예외

Throws an OutOfBoundsException if the position is outside of the limits specified in LimitIterator::__construct().

참고

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top