ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilQTIRenderFib Class Reference
+ Collaboration diagram for ilQTIRenderFib:

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

Detailed Description

Definition at line 42 of file class.ilQTIRenderFib.php.

Member Function Documentation

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.

References $charset.

{
}
ilQTIRenderFib::getColumns ( )

Definition at line 185 of file class.ilQTIRenderFib.php.

References $columns.

{
}
ilQTIRenderFib::getEncoding ( )

Definition at line 155 of file class.ilQTIRenderFib.php.

References $encoding.

{
}
ilQTIRenderFib::getFibtype ( )

Definition at line 115 of file class.ilQTIRenderFib.php.

References $fibtype.

{
}
ilQTIRenderFib::getMaxchars ( )

Definition at line 175 of file class.ilQTIRenderFib.php.

References $maxchars.

{
}
ilQTIRenderFib::getMaxnumber ( )

Definition at line 135 of file class.ilQTIRenderFib.php.

References $maxnumber.

{
}
ilQTIRenderFib::getMinnumber ( )

Definition at line 125 of file class.ilQTIRenderFib.php.

References $minnumber.

{
}
ilQTIRenderFib::getPrompt ( )

Definition at line 87 of file class.ilQTIRenderFib.php.

References $prompt.

{
return $this->prompt;
}
ilQTIRenderFib::getRows ( )

Definition at line 165 of file class.ilQTIRenderFib.php.

References $rows.

{
return $this->rows;
}
ilQTIRenderFib::ilQTIRenderFib ( )

Definition at line 56 of file class.ilQTIRenderFib.php.

References SHOWDRAW_NO.

{
$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.

References FIBTYPE_DECIMAL, FIBTYPE_INTEGER, FIBTYPE_SCIENTIFIC, and FIBTYPE_STRING.

{
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.

References PROMPT_ASTERISK, PROMPT_BOX, PROMPT_DASHLINE, and PROMPT_UNDERLINE.

{
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;
}

Field Documentation

ilQTIRenderFib::$charset

Definition at line 54 of file class.ilQTIRenderFib.php.

Referenced by getCharset().

ilQTIRenderFib::$columns

Definition at line 53 of file class.ilQTIRenderFib.php.

Referenced by getColumns().

ilQTIRenderFib::$encoding

Definition at line 49 of file class.ilQTIRenderFib.php.

Referenced by getEncoding().

ilQTIRenderFib::$fibtype

Definition at line 50 of file class.ilQTIRenderFib.php.

Referenced by getFibtype().

ilQTIRenderFib::$material

Definition at line 47 of file class.ilQTIRenderFib.php.

ilQTIRenderFib::$maxchars

Definition at line 52 of file class.ilQTIRenderFib.php.

Referenced by getMaxchars().

ilQTIRenderFib::$maxnumber

Definition at line 45 of file class.ilQTIRenderFib.php.

Referenced by getMaxnumber().

ilQTIRenderFib::$minnumber

Definition at line 44 of file class.ilQTIRenderFib.php.

Referenced by getMinnumber().

ilQTIRenderFib::$prompt

Definition at line 48 of file class.ilQTIRenderFib.php.

Referenced by getPrompt().

ilQTIRenderFib::$response_labels

Definition at line 46 of file class.ilQTIRenderFib.php.

ilQTIRenderFib::$rows

Definition at line 51 of file class.ilQTIRenderFib.php.

Referenced by getRows().


The documentation for this class was generated from the following file: