ILIAS  release_8 Revision v8.24
class.ilQTIAssessment.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
31{
32 public ?string $ident = null;
33 public string $title = '';
34 public ?string $xmllang = null;
35 public string $comment = '';
37 public array $qtimetadata = [];
39 public array $objectives = [];
41 public array $assessmentcontrol = [];
43
44 public function setIdent(string $a_ident): void
45 {
46 $this->ident = $a_ident;
47 }
48
49 public function getIdent(): ?string
50 {
51 return $this->ident;
52 }
53
54 public function setTitle(string $a_title): void
55 {
56 $this->title = $a_title;
57 }
58
59 public function getTitle(): string
60 {
61 return $this->title;
62 }
63
64 public function setComment(string $a_comment): void
65 {
66 $this->comment = $a_comment;
67 }
68
69 public function getComment(): string
70 {
71 return $this->comment;
72 }
73
74 public function setXmllang(string $a_xmllang): void
75 {
76 $this->xmllang = $a_xmllang;
77 }
78
79 public function getXmllang(): ?string
80 {
81 return $this->xmllang;
82 }
83
87 public function addQtiMetadata(array $a_metadata): void
88 {
89 $this->qtimetadata[] = $a_metadata;
90 }
91
92 public function addObjectives(ilQTIObjectives $a_objectives): void
93 {
94 $this->objectives[] = $a_objectives;
95 }
96
97 public function addAssessmentcontrol(ilQTIAssessmentcontrol $a_assessmentcontrol): void
98 {
99 $this->assessmentcontrol[] = $a_assessmentcontrol;
100 }
101
103 {
104 $this->presentation_material = $presentation_material;
105 }
106
108 {
110 }
111}
setIdent(string $a_ident)
ilQTIPresentationMaterial $presentation_material
addObjectives(ilQTIObjectives $a_objectives)
addQtiMetadata(array $a_metadata)
setPresentationMaterial(ilQTIPresentationMaterial $presentation_material)
setXmllang(string $a_xmllang)
setTitle(string $a_title)
addAssessmentcontrol(ilQTIAssessmentcontrol $a_assessmentcontrol)
setComment(string $a_comment)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...