PHP Doku:: Seek to the given position - limititerator.seek.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSonstige GrunderweiterungenStandard PHP Library (SPL)IteratorenThe LimitIterator classLimitIterator::seek

Ein Service von Reinhard Neidl - Webprogrammierung.

The LimitIterator class

<<LimitIterator::rewind

LimitIterator::valid>>

LimitIterator::seek

(PHP 5 >= 5.1.0)

LimitIterator::seekSeek to the given position

Beschreibung

public int LimitIterator::seek ( int $position )

Moves the iterator to the offset specified by position.

Parameter-Liste

position

The position to seek to.

Rückgabewerte

Returns the offset position after seeking.

Fehler/Exceptions

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

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)