ILIAS  trunk Revision v11.0_alpha-1731-gff9cd7e2bd3
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilQTIAssessment.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
30 {
31  public ?string $ident = null;
32  public string $title = '';
33  public ?string $xmllang = null;
34  public string $comment = '';
36  public array $qtimetadata = [];
38  public array $objectives = [];
40  public array $assessmentcontrol = [];
42 
43  public function setIdent(string $a_ident): void
44  {
45  $this->ident = $a_ident;
46  }
47 
48  public function getIdent(): ?string
49  {
50  return $this->ident;
51  }
52 
53  public function setTitle(string $a_title): void
54  {
55  $this->title = $a_title;
56  }
57 
58  public function getTitle(): string
59  {
60  return $this->title;
61  }
62 
63  public function setComment(string $a_comment): void
64  {
65  $this->comment = $a_comment;
66  }
67 
68  public function getComment(): string
69  {
70  return $this->comment;
71  }
72 
73  public function setXmllang(string $a_xmllang): void
74  {
75  $this->xmllang = $a_xmllang;
76  }
77 
78  public function getXmllang(): ?string
79  {
80  return $this->xmllang;
81  }
82 
86  public function addQtiMetadata(array $a_metadata): void
87  {
88  $this->qtimetadata[] = $a_metadata;
89  }
90 
91  public function addObjectives(ilQTIObjectives $a_objectives): void
92  {
93  $this->objectives[] = $a_objectives;
94  }
95 
96  public function addAssessmentcontrol(ilQTIAssessmentcontrol $a_assessmentcontrol): void
97  {
98  $this->assessmentcontrol[] = $a_assessmentcontrol;
99  }
100 
101  public function setPresentationMaterial(ilQTIPresentationMaterial $presentation_material): void
102  {
103  $this->presentation_material = $presentation_material;
104  }
105 
107  {
109  }
110 }
Class ilQTIPresentationMaterial.
addAssessmentcontrol(ilQTIAssessmentcontrol $a_assessmentcontrol)
setIdent(string $a_ident)
setTitle(string $a_title)
addObjectives(ilQTIObjectives $a_objectives)
setXmllang(string $a_xmllang)
setPresentationMaterial(ilQTIPresentationMaterial $presentation_material)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
ilQTIPresentationMaterial $presentation_material
addQtiMetadata(array $a_metadata)
Interface ilQTIPresentationMaterialAware.
setComment(string $a_comment)
comment()
description: > Example for rendring a comment glyph.
Definition: comment.php:41