M3::ServerView::ResultSet - Contents returned by a view


M3-ServerView documentation  | view source Contained in the M3-ServerView distribution.

Index


NAME

Top

M3::ServerView::ResultSet - Contents returned by a view

DESCRIPTION

Top

Instances of this class functions as an iterator for iterating over results returned when searching a view.

INTERFACE

Top

CLASS METHODS

new ( ARRAY )

Creates a new result set with the contents of the array reference ARRAY.

INSTANCE METHODS

all

Returns a list of all items in the result set.

count

Returns the number of items in the result set.

first

Returns the first item in the result set or undef if the result set is empty.

next

Returns the next item in the result set or undef if there's no more items.

reset

Resets the result set to start from the beginning again.


M3-ServerView documentation  | view source Contained in the M3-ServerView distribution.