3 declare(strict_types=1);
58 switch (strtolower($a_prompt)) {
61 $this->prompt = self::PROMPT_BOX;
65 $this->prompt = self::PROMPT_DASHLINE;
69 $this->prompt = self::PROMPT_ASTERISK;
73 $this->prompt = self::PROMPT_UNDERLINE;
85 switch (strtolower($a_fibtype)) {
88 $this->fibtype = self::FIBTYPE_STRING;
92 $this->fibtype = self::FIBTYPE_INTEGER;
96 $this->fibtype = self::FIBTYPE_DECIMAL;
100 $this->fibtype = self::FIBTYPE_SCIENTIFIC;
112 $this->minnumber = $a_minnumber;
122 $this->maxnumber = $a_maxnumber;
132 $this->response_labels[] = $a_response_label;
137 $this->material[] = $a_material;
142 $this->encoding = $a_encoding;
152 $this->rows = $a_rows;
162 $this->maxchars = $a_maxchars;
172 $this->columns = $a_columns;
182 $this->charset = $a_charset;
setCharset(string $a_charset)
setMaxnumber(string $a_maxnumber)
setPrompt(string $a_prompt)
setEncoding(string $a_encoding)
addMaterial(ilQTIMaterial $a_material)
addResponseLabel(ilQTIResponseLabel $a_response_label)
setMinnumber(string $a_minnumber)
setMaxchars(string $a_maxchars)
setFibtype(string $a_fibtype)
setColumns(string $a_columns)