ILIAS  release_8 Revision v8.24
ilQTIObjectives Class Reference
+ Collaboration diagram for ilQTIObjectives:

Public Member Functions

 addMaterial (ilQTIMaterial $a_material)
 
 setView (string $a_view)
 
 getView ()
 

Data Fields

array $materials = []
 
string $view = "All"
 

Detailed Description

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

Member Function Documentation

◆ addMaterial()

ilQTIObjectives::addMaterial ( ilQTIMaterial  $a_material)

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

36 : void
37 {
38 $this->materials[] = $a_material;
39 }

◆ getView()

ilQTIObjectives::getView ( )

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

61 : string
62 {
63 return $this->view;
64 }

References $view.

◆ setView()

ilQTIObjectives::setView ( string  $a_view)

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

41 : void
42 {
43 switch ($a_view) {
44 case "Administrator":
45 case "AdminAuthority":
46 case "Assessor":
47 case "Author":
48 case "Candidate":
49 case "InvigilatorProctor":
50 case "Psychometrician":
51 case "Scorer":
52 case "Tutor":
53 $this->view = $a_view;
54 break;
55 default:
56 $this->view = "All";
57 break;
58 }
59 }

Field Documentation

◆ $materials

array ilQTIObjectives::$materials = []

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

◆ $view

string ilQTIObjectives::$view = "All"

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

Referenced by getView().


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