Whitebeam Object Definition

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Object Definition

Method Description

qaDumper.dumpA()

Pretty-format the XML representation of an answerfile.

Syntax

string = qaDumper.dumpA(csv)

Parameters

The 'qaDumper.dumpA' method takes 1 parameter:

Name Type/Value Range/Length Description
csvstring  Optional. If this string is set to "csv" the returned value is CSV. If this string is set to "obj" the returned value is an array.

Results

The 'qaDumper.dumpA' method returns string:

Type/Value Range/Length Description
string   The XML representation of a set of answers, in "pretty" form or as CSVs.

Remarks

This method requires that both a questionFileID and matching answerFileID have been supplied to the object.

If CSV format is requested, an array of rwo strings is returned, the first contains the list of headings (questions) and the second contains the answers.

If Object format is requested, an array arrays is returned. Each child array represents one question. Element zero is the question text itself, and any further elements contain the answer(s).

Whitebeam release 1.3.36
(loadtime : 8ms)