ILIAS  Release_3_10_x_branch Revision 61812
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilQTIRenderChoice Class Reference
+ Collaboration diagram for ilQTIRenderChoice:

Public Member Functions

 ilQTIRenderChoice ()
 setShuffle ($a_shuffle)
 getShuffle ()
 setMinnumber ($a_minnumber)
 getMinnumber ()
 setMaxnumber ($a_maxnumber)
 getMaxnumber ()
 addResponseLabel ($a_response_label)
 addMaterial ($a_material)

Data Fields

 $shuffle
 $minnumber
 $maxnumber
 $response_labels
 $material

Detailed Description

Definition at line 35 of file class.ilQTIRenderChoice.php.

Member Function Documentation

ilQTIRenderChoice::addMaterial (   $a_material)

Definition at line 95 of file class.ilQTIRenderChoice.php.

{
array_push($this->material, $a_material);
}
ilQTIRenderChoice::addResponseLabel (   $a_response_label)

Definition at line 90 of file class.ilQTIRenderChoice.php.

{
array_push($this->response_labels, $a_response_label);
}
ilQTIRenderChoice::getMaxnumber ( )

Definition at line 85 of file class.ilQTIRenderChoice.php.

References $maxnumber.

{
}
ilQTIRenderChoice::getMinnumber ( )

Definition at line 75 of file class.ilQTIRenderChoice.php.

References $minnumber.

{
}
ilQTIRenderChoice::getShuffle ( )

Definition at line 65 of file class.ilQTIRenderChoice.php.

References $shuffle.

{
}
ilQTIRenderChoice::ilQTIRenderChoice ( )

Definition at line 43 of file class.ilQTIRenderChoice.php.

References SHUFFLE_NO.

{
$this->shuffle = SHUFFLE_NO;
$this->response_labels = array();
$this->material = array();
}
ilQTIRenderChoice::setMaxnumber (   $a_maxnumber)

Definition at line 80 of file class.ilQTIRenderChoice.php.

{
$this->maxnumber = $a_maxnumber;
}
ilQTIRenderChoice::setMinnumber (   $a_minnumber)

Definition at line 70 of file class.ilQTIRenderChoice.php.

{
$this->minnumber = $a_minnumber;
}
ilQTIRenderChoice::setShuffle (   $a_shuffle)

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

References SHUFFLE_NO, and SHUFFLE_YES.

{
switch (strtolower($a_shuffle))
{
case "0":
case "no":
$this->shuffle = SHUFFLE_NO;
break;
case "1":
case "yes":
$this->shuffle = SHUFFLE_YES;
break;
}
}

Field Documentation

ilQTIRenderChoice::$material

Definition at line 41 of file class.ilQTIRenderChoice.php.

ilQTIRenderChoice::$maxnumber

Definition at line 39 of file class.ilQTIRenderChoice.php.

Referenced by getMaxnumber().

ilQTIRenderChoice::$minnumber

Definition at line 38 of file class.ilQTIRenderChoice.php.

Referenced by getMinnumber().

ilQTIRenderChoice::$response_labels

Definition at line 40 of file class.ilQTIRenderChoice.php.

ilQTIRenderChoice::$shuffle

Definition at line 37 of file class.ilQTIRenderChoice.php.

Referenced by getShuffle().


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