ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilQTIObjectives Class Reference
+ Collaboration diagram for ilQTIObjectives:

Public Member Functions

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

Data Fields

 $materials
 
 $view
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilQTIObjectives::__construct ( )

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

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

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 68 of file class.ilQTIObjectives.php.

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

References $view.

◆ setView()

ilQTIObjectives::setView (   $a_view)

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

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

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: