24 define(
"PROMPT_BOX",
"1");
25 define(
"PROMPT_DASHLINE",
"2");
26 define(
"PROMPT_ASTERISK",
"3");
27 define(
"PROMPT_UNDERLINE",
"4");
29 define(
"FIBTYPE_STRING",
"1");
30 define(
"FIBTYPE_INTEGER",
"2");
31 define(
"FIBTYPE_DECIMAL",
"3");
32 define(
"FIBTYPE_SCIENTIFIC",
"4");
58 $this->response_labels = array();
59 $this->material = array();
60 $this->encoding =
"UTF-8";
65 switch (strtolower($a_prompt)) {
92 switch (strtolower($a_fibtype)) {
119 $this->minnumber = $a_minnumber;
129 $this->maxnumber = $a_maxnumber;
139 array_push($this->response_labels, $a_response_label);
144 array_push($this->material, $a_material);
149 $this->encoding = $a_encoding;
159 $this->rows = $a_rows;
169 $this->maxchars = $a_maxchars;
179 $this->columns = $a_columns;
189 $this->charset = $a_charset;
addResponseLabel($a_response_label)
setMinnumber($a_minnumber)
setMaxnumber($a_maxnumber)