ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator 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 29 of file class.ilQTISection.php.

Member Function Documentation

◆ getComment()

ilQTISection::getComment ( )

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

References $comment.

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

◆ getDuration()

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

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

References $duration.

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

◆ getIdent()

ilQTISection::getIdent ( )

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

References $ident.

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

◆ getPresentationMaterial()

ilQTISection::getPresentationMaterial ( )

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

References $presentation_material.

104  {
106  }
Class ilQTIPresentationMaterial.
ilQTIPresentationMaterial $presentation_material

◆ getTitle()

ilQTISection::getTitle ( )

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

References $title.

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

◆ getXmllang()

ilQTISection::getXmllang ( )

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

References $xmllang.

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

◆ setComment()

ilQTISection::setComment ( string  $a_comment)

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

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

59  : void
60  {
61  $this->comment = $a_comment;
62  }
comment()
description: > Example for rendring a comment glyph.
Definition: comment.php:41
+ Here is the call graph for this function:

◆ setDuration()

ilQTISection::setDuration ( string  $a_duration)

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

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

◆ setIdent()

ilQTISection::setIdent ( string  $a_ident)

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

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

◆ setPresentationMaterial()

ilQTISection::setPresentationMaterial ( ilQTIPresentationMaterial  $a_material)

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

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

◆ setTitle()

ilQTISection::setTitle ( string  $a_title)

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

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

◆ setXmllang()

ilQTISection::setXmllang ( string  $a_xmllang)

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

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

Field Documentation

◆ $comment

string ilQTISection::$comment = null

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

Referenced by getComment().

◆ $duration

array ilQTISection::$duration = null

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

Referenced by getDuration().

◆ $ident

string ilQTISection::$ident = null

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

Referenced by getIdent().

◆ $presentation_material

ilQTIPresentationMaterial ilQTISection::$presentation_material = null

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

Referenced by getPresentationMaterial().

◆ $title

string ilQTISection::$title = null

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

Referenced by getTitle().

◆ $xmllang

string ilQTISection::$xmllang = null

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

Referenced by getXmllang().


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