PerlDoc

24 Jun 2022 - 10:02 | Version 1 |
See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview


Parent package: Foswiki::Iterator
Child packages:

    Foswiki::Iterator::MergeEventIterator

    Private subclass of Foswiki::Iterator that
    • Is passed a array reference of a list of iterator arrays.
    • Scans across the list of iterators using snoopNext to find the iterator with the lowest timestamp
    • returns true to hasNext if any iterator has any records available.
    • returns the record with the lowest timestamp to the next() request.

    ObjectMethod hasNext() → $boolean

    Scans all the iterators to determine if any of them have a record available.

    ObjectMethod next() → \$hash or @array

    Snoop all of the iterators to find the lowest timestamp record, and return the field hash, or field array, depending up on the requested API version.

    Kontakt
    Pädagogische Hochschule Schwyz
    Zaystrasse 42
    CH-6410 Goldau
    T +41 41 859 05 90
    info@phsz.ch Dies ist ein Wiki des Fachkerns Medien und Informatik der Pädagogischen Hochschule Schwyz. Für Fragen wenden Sie sich bitte an wikiadmin@phsz.ch
    This page was cached on 09 Apr 2025 - 23:27.
    This website is using cookies. More info. That's Fine