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

Public Member Functions

 ilQTIObjectives ()
 addMaterial ($a_material)
 setView ($a_view)
 getView ()

Data Fields

 $materials
 $view

Detailed Description

Definition at line 32 of file class.ilQTIObjectives.php.

Member Function Documentation

ilQTIObjectives::addMaterial (   $a_material)

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

{
array_push($this->materials, $a_material);
}
ilQTIObjectives::getView ( )

Definition at line 69 of file class.ilQTIObjectives.php.

References $view.

{
return $this->view;
}
ilQTIObjectives::ilQTIObjectives ( )

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

{
$this->materials = array();
$this->view = "All";
}
ilQTIObjectives::setView (   $a_view)

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

{
switch ($a_view)
{
case "Administrator":
case "AdminAuthority":
case "Assessor":
case "Author":
case "Candidate":
case "InvigilatorProctor":
case "Psychometrician":
case "Scorer":
case "Tutor":
$this->view = $a_view;
break;
default:
$this->view = "All";
break;
}
}

Field Documentation

ilQTIObjectives::$materials

Definition at line 34 of file class.ilQTIObjectives.php.

ilQTIObjectives::$view

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

Referenced by getView().


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