Public Member Functions | |
ilQTIRenderFib () | |
setPrompt ($a_prompt) | |
getPrompt () | |
setFibtype ($a_fibtype) | |
getFibtype () | |
setMinnumber ($a_minnumber) | |
getMinnumber () | |
setMaxnumber ($a_maxnumber) | |
getMaxnumber () | |
addResponseLabel ($a_response_label) | |
addMaterial ($a_material) | |
setEncoding ($a_encoding) | |
getEncoding () | |
setRows ($a_rows) | |
getRows () | |
setMaxchars ($a_maxchars) | |
getMaxchars () | |
setColumns ($a_columns) | |
getColumns () | |
setCharset ($a_charset) | |
getCharset () | |
Data Fields | |
$minnumber | |
$maxnumber | |
$response_labels | |
$material | |
$prompt | |
$encoding | |
$fibtype | |
$rows | |
$maxchars | |
$columns | |
$charset |
Definition at line 42 of file class.ilQTIRenderFib.php.
ilQTIRenderFib::addMaterial | ( | $ | a_material | ) |
Definition at line 145 of file class.ilQTIRenderFib.php.
{ array_push($this->material, $a_material); }
ilQTIRenderFib::addResponseLabel | ( | $ | a_response_label | ) |
Definition at line 140 of file class.ilQTIRenderFib.php.
{ array_push($this->response_labels, $a_response_label); }
ilQTIRenderFib::getCharset | ( | ) |
Definition at line 195 of file class.ilQTIRenderFib.php.
{
return $this->charset;
}
ilQTIRenderFib::getColumns | ( | ) |
Definition at line 185 of file class.ilQTIRenderFib.php.
{
return $this->columns;
}
ilQTIRenderFib::getEncoding | ( | ) |
Definition at line 155 of file class.ilQTIRenderFib.php.
{
return $this->encoding;
}
ilQTIRenderFib::getFibtype | ( | ) |
Definition at line 115 of file class.ilQTIRenderFib.php.
{
return $this->fibtype;
}
ilQTIRenderFib::getMaxchars | ( | ) |
Definition at line 175 of file class.ilQTIRenderFib.php.
{
return $this->maxchars;
}
ilQTIRenderFib::getMaxnumber | ( | ) |
Definition at line 135 of file class.ilQTIRenderFib.php.
{
return $this->maxnumber;
}
ilQTIRenderFib::getMinnumber | ( | ) |
Definition at line 125 of file class.ilQTIRenderFib.php.
{
return $this->minnumber;
}
ilQTIRenderFib::getPrompt | ( | ) |
Definition at line 87 of file class.ilQTIRenderFib.php.
{
return $this->prompt;
}
ilQTIRenderFib::getRows | ( | ) |
Definition at line 165 of file class.ilQTIRenderFib.php.
{
return $this->rows;
}
ilQTIRenderFib::ilQTIRenderFib | ( | ) |
Definition at line 56 of file class.ilQTIRenderFib.php.
{
$this->showdraw = SHOWDRAW_NO;
$this->response_labels = array();
$this->material = array();
$this->encoding = "UTF-8";
}
ilQTIRenderFib::setCharset | ( | $ | a_charset | ) |
Definition at line 190 of file class.ilQTIRenderFib.php.
{ $this->charset = $a_charset; }
ilQTIRenderFib::setColumns | ( | $ | a_columns | ) |
Definition at line 180 of file class.ilQTIRenderFib.php.
{ $this->columns = $a_columns; }
ilQTIRenderFib::setEncoding | ( | $ | a_encoding | ) |
Definition at line 150 of file class.ilQTIRenderFib.php.
{ $this->encoding = $a_encoding; }
ilQTIRenderFib::setFibtype | ( | $ | a_fibtype | ) |
Definition at line 92 of file class.ilQTIRenderFib.php.
{ switch (strtolower($a_fibtype)) { case "1": case "string": $this->fibtype = FIBTYPE_STRING; break; case "2": case "integer": $this->fibtype = FIBTYPE_INTEGER; break; case "3": case "decimal": $this->fibtype = FIBTYPE_DECIMAL; break; case "4": case "scientific": $this->fibtype = FIBTYPE_SCIENTIFIC; break; } }
ilQTIRenderFib::setMaxchars | ( | $ | a_maxchars | ) |
Definition at line 170 of file class.ilQTIRenderFib.php.
{ $this->maxchars = $a_maxchars; }
ilQTIRenderFib::setMaxnumber | ( | $ | a_maxnumber | ) |
Definition at line 130 of file class.ilQTIRenderFib.php.
{ $this->maxnumber = $a_maxnumber; }
ilQTIRenderFib::setMinnumber | ( | $ | a_minnumber | ) |
Definition at line 120 of file class.ilQTIRenderFib.php.
{ $this->minnumber = $a_minnumber; }
ilQTIRenderFib::setPrompt | ( | $ | a_prompt | ) |
Definition at line 64 of file class.ilQTIRenderFib.php.
{ switch (strtolower($a_prompt)) { case "1": case "box": $this->prompt = PROMPT_BOX; break; case "2": case "dashline": $this->prompt = PROMPT_DASHLINE; break; case "3": case "asterisk": $this->prompt = PROMPT_ASTERISK; break; case "4": case "underline": $this->prompt = PROMPT_UNDERLINE; break; } }
ilQTIRenderFib::setRows | ( | $ | a_rows | ) |
Definition at line 160 of file class.ilQTIRenderFib.php.
{ $this->rows = $a_rows; }
ilQTIRenderFib::$charset |
Definition at line 54 of file class.ilQTIRenderFib.php.
ilQTIRenderFib::$columns |
Definition at line 53 of file class.ilQTIRenderFib.php.
ilQTIRenderFib::$encoding |
Definition at line 49 of file class.ilQTIRenderFib.php.
ilQTIRenderFib::$fibtype |
Definition at line 50 of file class.ilQTIRenderFib.php.
ilQTIRenderFib::$material |
Definition at line 47 of file class.ilQTIRenderFib.php.
ilQTIRenderFib::$maxchars |
Definition at line 52 of file class.ilQTIRenderFib.php.
ilQTIRenderFib::$maxnumber |
Definition at line 45 of file class.ilQTIRenderFib.php.
ilQTIRenderFib::$minnumber |
Definition at line 44 of file class.ilQTIRenderFib.php.
ilQTIRenderFib::$prompt |
Definition at line 48 of file class.ilQTIRenderFib.php.
ilQTIRenderFib::$response_labels |
Definition at line 46 of file class.ilQTIRenderFib.php.
ilQTIRenderFib::$rows |
Definition at line 51 of file class.ilQTIRenderFib.php.