ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilQTIResponseVar Class Reference
+ Collaboration diagram for ilQTIResponseVar:

Public Member Functions

 ilQTIResponseVar ($a_vartype)
 setVartype ($a_vartype)
 getVartype ()
 setCase ($a_case)
 getCase ()
 setRespident ($a_respident)
 getRespident ()
 setIndex ($a_index)
 getIndex ()
 setSetmatch ($a_setmatch)
 getSetmatch ()
 setAreatype ($a_areatype)
 getAreatype ()
 setContent ($a_content)
 getContent ()

Data Fields

 $vartype
 $case
 $respident
 $index
 $setmatch
 $areatype
 $content

Detailed Description

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

Member Function Documentation

ilQTIResponseVar::getAreatype ( )

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

References $areatype.

{
}
ilQTIResponseVar::getCase ( )

Definition at line 91 of file class.ilQTIResponseVar.php.

References $case.

{
return $this->case;
}
ilQTIResponseVar::getContent ( )

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

References $content.

{
}
ilQTIResponseVar::getIndex ( )

Definition at line 111 of file class.ilQTIResponseVar.php.

References $index.

{
return $this->index;
}
ilQTIResponseVar::getRespident ( )

Definition at line 101 of file class.ilQTIResponseVar.php.

References $respident.

{
}
ilQTIResponseVar::getSetmatch ( )

Definition at line 131 of file class.ilQTIResponseVar.php.

References $setmatch.

{
}
ilQTIResponseVar::getVartype ( )

Definition at line 71 of file class.ilQTIResponseVar.php.

References $vartype.

{
}
ilQTIResponseVar::ilQTIResponseVar (   $a_vartype)

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

References setVartype().

{
$this->setVartype($a_vartype);
}

+ Here is the call graph for this function:

ilQTIResponseVar::setAreatype (   $a_areatype)

Definition at line 136 of file class.ilQTIResponseVar.php.

References AREATYPE_BOUNDED, AREATYPE_ELLIPSE, and AREATYPE_RECTANGLE.

{
switch (strtolower($a_areatype))
{
case "1":
case "ellipse":
$this->areatype = AREATYPE_ELLIPSE;
break;
case "2":
case "rectangle":
$this->areatype = AREATYPE_RECTANGLE;
break;
case "3":
case "bounded":
$this->areatype = AREATYPE_BOUNDED;
break;
}
}
ilQTIResponseVar::setCase (   $a_case)

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

References CASE_NO, and CASE_YES.

{
switch (strtolower($a_case))
{
case "1":
case "yes":
$this->case = CASE_YES;
break;
case "2":
case "no":
$this->case = CASE_NO;
break;
}
}
ilQTIResponseVar::setContent (   $a_content)

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

{
$this->content = $a_content;
}
ilQTIResponseVar::setIndex (   $a_index)

Definition at line 106 of file class.ilQTIResponseVar.php.

{
$this->index = $a_index;
}
ilQTIResponseVar::setRespident (   $a_respident)

Definition at line 96 of file class.ilQTIResponseVar.php.

{
$this->respident = $a_respident;
}
ilQTIResponseVar::setSetmatch (   $a_setmatch)

Definition at line 116 of file class.ilQTIResponseVar.php.

References SETMATCH_EXACT, and SETMATCH_PARTIAL.

{
switch (strtolower($a_setmatch))
{
case "1":
case "partial":
$this->setmatch = SETMATCH_PARTIAL;
break;
case "2":
case "exact":
$this->setmatch = SETMATCH_EXACT;
break;
}
}
ilQTIResponseVar::setVartype (   $a_vartype)

Definition at line 66 of file class.ilQTIResponseVar.php.

Referenced by ilQTIResponseVar().

{
$this->vartype = $a_vartype;
}

+ Here is the caller graph for this function:

Field Documentation

ilQTIResponseVar::$areatype

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

Referenced by getAreatype().

ilQTIResponseVar::$case

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

Referenced by getCase().

ilQTIResponseVar::$content

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

Referenced by getContent().

ilQTIResponseVar::$index

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

Referenced by getIndex().

ilQTIResponseVar::$respident

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

Referenced by getRespident().

ilQTIResponseVar::$setmatch

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

Referenced by getSetmatch().

ilQTIResponseVar::$vartype

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

Referenced by getVartype().


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