ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilQTISection Class Reference
+ Collaboration diagram for ilQTISection:

Public Member Functions

 setIdent (string $a_ident)
 
 getIdent ()
 
 setTitle (string $a_title)
 
 getTitle ()
 
 setComment (string $a_comment)
 
 getComment ()
 
 setDuration (string $a_duration)
 
 getDuration ()
 
 setXmllang (string $a_xmllang)
 
 getXmllang ()
 
 setPresentationMaterial (ilQTIPresentationMaterial $a_material)
 
 getPresentationMaterial ()
 

Data Fields

string $ident = null
 
string $title = null
 
string $xmllang = null
 
string $comment = null
 
array $duration = null
 
ilQTIPresentationMaterial $presentation_material = null
 

Detailed Description

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

Member Function Documentation

◆ getComment()

ilQTISection::getComment ( )

Definition at line 65 of file class.ilQTISection.php.

References $comment.

65  : ?string
66  {
67  return $this->comment;
68  }

◆ getDuration()

ilQTISection::getDuration ( )
Returns
null|array{h: string, m: string, s: string}

Definition at line 84 of file class.ilQTISection.php.

References $duration.

84  : ?array
85  {
86  return $this->duration;
87  }

◆ getIdent()

ilQTISection::getIdent ( )

Definition at line 45 of file class.ilQTISection.php.

References $ident.

45  : ?string
46  {
47  return $this->ident;
48  }

◆ getPresentationMaterial()

ilQTISection::getPresentationMaterial ( )

Definition at line 104 of file class.ilQTISection.php.

References $presentation_material.

105  {
107  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilQTIPresentationMaterial $presentation_material

◆ getTitle()

ilQTISection::getTitle ( )

Definition at line 55 of file class.ilQTISection.php.

References $title.

55  : ?string
56  {
57  return $this->title;
58  }

◆ getXmllang()

ilQTISection::getXmllang ( )

Definition at line 94 of file class.ilQTISection.php.

References $xmllang.

94  : ?string
95  {
96  return $this->xmllang;
97  }

◆ setComment()

ilQTISection::setComment ( string  $a_comment)

Definition at line 60 of file class.ilQTISection.php.

References ILIAS\UI\examples\Symbol\Glyph\Comment\comment().

60  : void
61  {
62  $this->comment = $a_comment;
63  }
+ Here is the call graph for this function:

◆ setDuration()

ilQTISection::setDuration ( string  $a_duration)

Definition at line 70 of file class.ilQTISection.php.

70  : void
71  {
72  if (preg_match("/P(\d+)Y(\d+)M(\d+)DT(\d+)H(\d+)M(\d+)S/", $a_duration, $matches)) {
73  $this->duration = array(
74  "h" => $matches[4],
75  "m" => $matches[5],
76  "s" => $matches[6]
77  );
78  }
79  }

◆ setIdent()

ilQTISection::setIdent ( string  $a_ident)

Definition at line 40 of file class.ilQTISection.php.

40  : void
41  {
42  $this->ident = $a_ident;
43  }

◆ setPresentationMaterial()

ilQTISection::setPresentationMaterial ( ilQTIPresentationMaterial  $a_material)

Definition at line 99 of file class.ilQTISection.php.

99  : void
100  {
101  $this->presentation_material = $a_material;
102  }

◆ setTitle()

ilQTISection::setTitle ( string  $a_title)

Definition at line 50 of file class.ilQTISection.php.

50  : void
51  {
52  $this->title = $a_title;
53  }

◆ setXmllang()

ilQTISection::setXmllang ( string  $a_xmllang)

Definition at line 89 of file class.ilQTISection.php.

89  : void
90  {
91  $this->xmllang = $a_xmllang;
92  }

Field Documentation

◆ $comment

string ilQTISection::$comment = null

Definition at line 35 of file class.ilQTISection.php.

Referenced by getComment().

◆ $duration

array ilQTISection::$duration = null

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

Referenced by getDuration().

◆ $ident

string ilQTISection::$ident = null

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

Referenced by getIdent().

◆ $presentation_material

ilQTIPresentationMaterial ilQTISection::$presentation_material = null

Definition at line 38 of file class.ilQTISection.php.

Referenced by getPresentationMaterial().

◆ $title

string ilQTISection::$title = null

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

Referenced by getTitle().

◆ $xmllang

string ilQTISection::$xmllang = null

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

Referenced by getXmllang().


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