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

Public Member Functions

 ilQTIResponse ($a_response_type=0)
 setResponsetype ($a_responsetype)
 getResponsetype ()
 setIdent ($a_ident)
 getIdent ()
 setRCardinality ($a_rcardinality)
 getRCardinality ()
 setRTiming ($a_rtiming)
 getRTiming ()
 setNumtype ($a_numtype)
 getNumtype ()
 setRenderType ($a_render_type)
 getRenderType ()
 setFlow ($a_flow)
 getFlow ()
 setMaterial1 ($a_material)
 getMaterial1 ()
 setMaterial2 ($a_material)
 getMaterial2 ()
 hasRendering ()

Data Fields

 $flow
 $response_type
 $ident
 $rcardinality
 $render_type
 $material1
 $material2
 $rtiming
 $numtype

Detailed Description

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

Member Function Documentation

ilQTIResponse::getFlow ( )

Definition at line 171 of file class.ilQTIResponse.php.

References $flow.

{
return $this->flow;
}
ilQTIResponse::getIdent ( )

Definition at line 83 of file class.ilQTIResponse.php.

References $ident.

{
return $this->ident;
}
ilQTIResponse::getMaterial1 ( )

Definition at line 181 of file class.ilQTIResponse.php.

References $material1.

{
}
ilQTIResponse::getMaterial2 ( )

Definition at line 191 of file class.ilQTIResponse.php.

References $material2.

{
}
ilQTIResponse::getNumtype ( )

Definition at line 151 of file class.ilQTIResponse.php.

References $numtype.

{
}
ilQTIResponse::getRCardinality ( )

Definition at line 107 of file class.ilQTIResponse.php.

References $rcardinality.

{
}
ilQTIResponse::getRenderType ( )

Definition at line 161 of file class.ilQTIResponse.php.

References $render_type.

{
}
ilQTIResponse::getResponsetype ( )

Definition at line 73 of file class.ilQTIResponse.php.

References $response_type.

{
}
ilQTIResponse::getRTiming ( )

Definition at line 127 of file class.ilQTIResponse.php.

References $rtiming.

{
}
ilQTIResponse::hasRendering ( )

Definition at line 196 of file class.ilQTIResponse.php.

{
if ($this->render_type != NULL)
{
return TRUE;
}
else
{
return FALSE;
}
}
ilQTIResponse::ilQTIResponse (   $a_response_type = 0)

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

{
$this->flow = 0;
$this->render_type = NULL;
$this->response_type = $a_response_type;
}
ilQTIResponse::setFlow (   $a_flow)

Definition at line 166 of file class.ilQTIResponse.php.

{
$this->flow = $a_flow;
}
ilQTIResponse::setIdent (   $a_ident)

Definition at line 78 of file class.ilQTIResponse.php.

{
$this->ident = $a_ident;
}
ilQTIResponse::setMaterial1 (   $a_material)

Definition at line 176 of file class.ilQTIResponse.php.

{
$this->material1 = $a_material;
}
ilQTIResponse::setMaterial2 (   $a_material)

Definition at line 186 of file class.ilQTIResponse.php.

{
$this->material2 = $a_material;
}
ilQTIResponse::setNumtype (   $a_numtype)

Definition at line 132 of file class.ilQTIResponse.php.

References NUMTYPE_DECIMAL, NUMTYPE_INTEGER, and NUMTYPE_SCIENTIFIC.

{
switch (strtolower($a_numtype))
{
case "integer":
case "1":
$this->numtype = NUMTYPE_INTEGER;
break;
case "decimal":
case "2":
$this->numtype = NUMTYPE_DECIMAL;
break;
case "scientific":
case "3":
$this->numtype = NUMTYPE_SCIENTIFIC;
break;
}
}
ilQTIResponse::setRCardinality (   $a_rcardinality)

Definition at line 88 of file class.ilQTIResponse.php.

References R_CARDINALITY_MULTIPLE, R_CARDINALITY_ORDERED, and R_CARDINALITY_SINGLE.

{
switch (strtolower($a_rcardinality))
{
case "single":
case "1":
$this->rcardinality = R_CARDINALITY_SINGLE;
break;
case "multiple":
case "2":
$this->rcardinality = R_CARDINALITY_MULTIPLE;
break;
case "ordered":
case "3":
$this->rcardinality = R_CARDINALITY_ORDERED;
break;
}
}
ilQTIResponse::setRenderType (   $a_render_type)

Definition at line 156 of file class.ilQTIResponse.php.

{
$this->render_type = $a_render_type;
}
ilQTIResponse::setResponsetype (   $a_responsetype)

Definition at line 68 of file class.ilQTIResponse.php.

{
$this->response_type = $a_responsetype;
}
ilQTIResponse::setRTiming (   $a_rtiming)

Definition at line 112 of file class.ilQTIResponse.php.

References RTIMING_NO, and RTIMING_YES.

{
switch (strtolower($a_rtiming))
{
case "no":
case "1":
$this->rtiming = RTIMING_NO;
break;
case "yes":
case "2":
$this->rtiming = RTIMING_YES;
break;
}
}

Field Documentation

ilQTIResponse::$flow

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

Referenced by getFlow().

ilQTIResponse::$ident

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

Referenced by getIdent().

ilQTIResponse::$material1

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

Referenced by getMaterial1().

ilQTIResponse::$material2

Definition at line 57 of file class.ilQTIResponse.php.

Referenced by getMaterial2().

ilQTIResponse::$numtype

Definition at line 59 of file class.ilQTIResponse.php.

Referenced by getNumtype().

ilQTIResponse::$rcardinality

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

Referenced by getRCardinality().

ilQTIResponse::$render_type

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

Referenced by getRenderType().

ilQTIResponse::$response_type

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

Referenced by getResponsetype().

ilQTIResponse::$rtiming

Definition at line 58 of file class.ilQTIResponse.php.

Referenced by getRTiming().


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