ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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

◆ addMaterial()

ilQTIObjectives::addMaterial (   $a_material)

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

44 {
45 array_push($this->materials, $a_material);
46 }

◆ getView()

ilQTIObjectives::getView ( )

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

70 {
71 return $this->view;
72 }

References $view.

◆ ilQTIObjectives()

ilQTIObjectives::ilQTIObjectives ( )

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

38 {
39 $this->materials = array();
40 $this->view = "All";
41 }

◆ setView()

ilQTIObjectives::setView (   $a_view)

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

49 {
50 switch ($a_view)
51 {
52 case "Administrator":
53 case "AdminAuthority":
54 case "Assessor":
55 case "Author":
56 case "Candidate":
57 case "InvigilatorProctor":
58 case "Psychometrician":
59 case "Scorer":
60 case "Tutor":
61 $this->view = $a_view;
62 break;
63 default:
64 $this->view = "All";
65 break;
66 }
67 }

Field Documentation

◆ $materials

ilQTIObjectives::$materials

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

◆ $view

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: