ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilQTIResponseLabel Class Reference
+ Collaboration diagram for ilQTIResponseLabel:

Public Member Functions

 ilQTIResponseLabel ()
 setRshuffle ($a_rshuffle)
 getRshuffle ()
 setRarea ($a_rarea)
 getRarea ()
 setRrange ($a_rrange)
 getRrange ()
 setLabelrefid ($a_labelrefid)
 getLabelrefid ()
 setIdent ($a_ident)
 getIdent ()
 setMatchGroup ($a_match_group)
 getMatchGroup ()
 setMatchMax ($a_match_max)
 getMatchMax ()
 addMaterial ($a_material)
 addFlow_mat ($a_flow_mat)
 setContent ($a_content)
 getContent ()

Data Fields

 $rshuffle
 $rarea
 $rrange
 $labelrefid
 $ident
 $match_group
 $match_max
 $material
 $flow_mat
 $content

Detailed Description

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

Member Function Documentation

ilQTIResponseLabel::addFlow_mat (   $a_flow_mat)

Definition at line 170 of file class.ilQTIResponseLabel.php.

{
array_push($this->flow_mat, $a_flow_mat);
}
ilQTIResponseLabel::addMaterial (   $a_material)

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

{
array_push($this->material, $a_material);
}
ilQTIResponseLabel::getContent ( )

Definition at line 180 of file class.ilQTIResponseLabel.php.

References $content.

{
}
ilQTIResponseLabel::getIdent ( )

Definition at line 140 of file class.ilQTIResponseLabel.php.

References $ident.

{
return $this->ident;
}
ilQTIResponseLabel::getLabelrefid ( )

Definition at line 130 of file class.ilQTIResponseLabel.php.

References $labelrefid.

{
}
ilQTIResponseLabel::getMatchGroup ( )

Definition at line 150 of file class.ilQTIResponseLabel.php.

References $match_group.

{
}
ilQTIResponseLabel::getMatchMax ( )

Definition at line 160 of file class.ilQTIResponseLabel.php.

References $match_max.

{
}
ilQTIResponseLabel::getRarea ( )

Definition at line 100 of file class.ilQTIResponseLabel.php.

References $rarea.

{
return $this->rarea;
}
ilQTIResponseLabel::getRrange ( )

Definition at line 120 of file class.ilQTIResponseLabel.php.

References $rrange.

{
return $this->rrange;
}
ilQTIResponseLabel::getRshuffle ( )

Definition at line 76 of file class.ilQTIResponseLabel.php.

References $rshuffle.

{
}
ilQTIResponseLabel::ilQTIResponseLabel ( )

Definition at line 55 of file class.ilQTIResponseLabel.php.

{
$this->material = array();
$this->flow_mat = array();
}
ilQTIResponseLabel::setContent (   $a_content)

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

{
$this->content = $a_content;
}
ilQTIResponseLabel::setIdent (   $a_ident)

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

{
$this->ident = $a_ident;
}
ilQTIResponseLabel::setLabelrefid (   $a_labelrefid)

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

{
$this->labelrefid = $a_labelrefid;
}
ilQTIResponseLabel::setMatchGroup (   $a_match_group)

Definition at line 145 of file class.ilQTIResponseLabel.php.

{
$this->match_group = $a_match_group;
}
ilQTIResponseLabel::setMatchMax (   $a_match_max)

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

{
$this->match_max = $a_match_max;
}
ilQTIResponseLabel::setRarea (   $a_rarea)

Definition at line 81 of file class.ilQTIResponseLabel.php.

References RAREA_BOUNDED, RAREA_ELLIPSE, and RAREA_RECTANGLE.

{
switch (strtolower($a_rarea))
{
case "1":
case "ellipse":
$this->rarea = RAREA_ELLIPSE;
break;
case "2":
case "rectangle":
$this->rarea = RAREA_RECTANGLE;
break;
case "3":
case "bounded":
$this->rarea = RAREA_BOUNDED;
break;
}
}
ilQTIResponseLabel::setRrange (   $a_rrange)

Definition at line 105 of file class.ilQTIResponseLabel.php.

References RRANGE_EXACT, and RRANGE_RANGE.

{
switch (strtolower($a_rrange))
{
case "1":
case "excact":
$this->rshuffle = RRANGE_EXACT;
break;
case "2":
case "range":
$this->rshuffle = RRANGE_RANGE;
break;
}
}
ilQTIResponseLabel::setRshuffle (   $a_rshuffle)

Definition at line 61 of file class.ilQTIResponseLabel.php.

References RSHUFFLE_NO, and RSHUFFLE_YES.

{
switch (strtolower($a_rshuffle))
{
case "1":
case "no":
$this->rshuffle = RSHUFFLE_NO;
break;
case "2":
case "yes":
$this->rshuffle = RSHUFFLE_YES;
break;
}
}

Field Documentation

ilQTIResponseLabel::$content

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

Referenced by getContent().

ilQTIResponseLabel::$flow_mat

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

ilQTIResponseLabel::$ident

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

Referenced by getIdent().

ilQTIResponseLabel::$labelrefid

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

Referenced by getLabelrefid().

ilQTIResponseLabel::$match_group

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

Referenced by getMatchGroup().

ilQTIResponseLabel::$match_max

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

Referenced by getMatchMax().

ilQTIResponseLabel::$material

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

ilQTIResponseLabel::$rarea

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

Referenced by getRarea().

ilQTIResponseLabel::$rrange

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

Referenced by getRrange().

ilQTIResponseLabel::$rshuffle

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

Referenced by getRshuffle().


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