Javascript Object KDFRecordSet

From KallestadWiki

Jump to: navigation, search

Contents

Overview

Manages a set of results, usually in response to a query. Functions exist to pull out a specific record, navigate to previous and next records, and for grabbing the first record in the record set.

Data Elements

  • current - an integer placeholder for the currently selected value
  • items - an array of records (typically stored as hash values, but not required to be)
  • id - the id of the recordset

Functions

The following functions return the appropriate item from the items collection and should be self explanatory

  • previous
  • next
  • first
  • last
  • byNum (num)

initialize

Kallestad Development Framework Topics

Personal tools