19 declare(strict_types=1);
57 switch (strtolower($a_prompt)) {
60 $this->prompt = self::PROMPT_BOX;
64 $this->prompt = self::PROMPT_DASHLINE;
68 $this->prompt = self::PROMPT_ASTERISK;
72 $this->prompt = self::PROMPT_UNDERLINE;
84 switch (strtolower($a_fibtype)) {
87 $this->fibtype = self::FIBTYPE_STRING;
91 $this->fibtype = self::FIBTYPE_INTEGER;
95 $this->fibtype = self::FIBTYPE_DECIMAL;
99 $this->fibtype = self::FIBTYPE_SCIENTIFIC;
111 $this->minnumber = $a_minnumber;
121 $this->maxnumber = $a_maxnumber;
131 $this->response_labels[] = $a_response_label;
136 $this->material[] = $a_material;
141 $this->encoding = $a_encoding;
151 $this->rows = $a_rows;
161 $this->maxchars = $a_maxchars;
171 $this->columns = $a_columns;
181 $this->charset = $a_charset;
setCharset(string $a_charset)
setMaxnumber(string $a_maxnumber)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
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)