ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilQTISection Class Reference
+ Collaboration diagram for ilQTISection:

Public Member Functions

 __construct ()
 
 setIdent ($a_ident)
 
 getIdent ()
 
 setTitle ($a_title)
 
 getTitle ()
 
 setComment ($a_comment)
 
 getComment ()
 
 setDuration ($a_duration)
 
 getDuration ()
 
 setXmllang ($a_xmllang)
 
 getXmllang ()
 
 addQtiMetadata ($a_metadata)
 
 addObjectives ($a_objectives)
 
 addSectioncontrol ($a_sectioncontrol)
 
 addSectionprecondition ($a_sectionprecondition)
 
 addSectionpostcondition ($a_sectionpostcondition)
 
 addRubric ($a_rubric)
 
 setPresentationMaterial ($a_material)
 
 getPresentationMaterial ()
 
 addOutcomesProcessing ($a_outcomes_processing)
 
 setSectionprocExtension ($a_sectionproc_extension)
 
 getSectionprocExtension ()
 
 addSectionfeedback ($a_sectionfeedback)
 
 setSelectionOrdering ($a_selection_ordering)
 
 getSelectionOrdering ()
 
 setReference ($a_reference)
 
 getReference ()
 
 addItemref ($a_itemref)
 
 addItem ($a_item)
 
 addSectionref ($a_sectionref)
 
 addSection ($a_section)
 

Data Fields

 $ident
 
 $title
 
 $xmllang
 
 $comment
 
 $duration
 
 $qtimetadata
 
 $objectives
 
 $sectioncontrol
 
 $sectionprecondition
 
 $sectionpostcondition
 
 $rubric
 
 $presentation_material
 
 $outcomes_processing
 
 $sectionproc_extension
 
 $sectionfeedback
 
 $selection_ordering
 
 $reference
 
 $itemref
 
 $item
 
 $sectionref
 
 $section
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilQTISection::__construct ( )

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

References array.

57  {
58  $this->qtimetadata = array();
59  $this->objectives = array();
60  $this->sectioncontrol = array();
61  $this->sectionprecondition = array();
62  $this->sectionpostcondition = array();
63  $this->rubric = array();
64  $this->outcomes_processing = array();
65  $this->sectionfeedback = array();
66  $this->itemref = array();
67  $this->item = array();
68  $this->sectionref = array();
69  $this->section = array();
70  }
Create styles array
The data for the language used.

Member Function Documentation

◆ addItem()

ilQTISection::addItem (   $a_item)

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

214  {
215  array_push($this->item, $a_item);
216  }

◆ addItemref()

ilQTISection::addItemref (   $a_itemref)

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

209  {
210  array_push($this->itemref, $a_itemref);
211  }

◆ addObjectives()

ilQTISection::addObjectives (   $a_objectives)

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

134  {
135  array_push($this->objectives, $a_objectives);
136  }

◆ addOutcomesProcessing()

ilQTISection::addOutcomesProcessing (   $a_outcomes_processing)

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

169  {
170  array_push($this->outcomes_processing, $a_outcomes_processing);
171  }

◆ addQtiMetadata()

ilQTISection::addQtiMetadata (   $a_metadata)

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

129  {
130  array_push($this->qtimetadata, $a_metadata);
131  }

◆ addRubric()

ilQTISection::addRubric (   $a_rubric)

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

154  {
155  array_push($this->rubric, $a_rubric);
156  }

◆ addSection()

ilQTISection::addSection (   $a_section)

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

224  {
225  array_push($this->section, $a_section);
226  }

◆ addSectioncontrol()

ilQTISection::addSectioncontrol (   $a_sectioncontrol)

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

139  {
140  array_push($this->sectioncontrol, $a_sectioncontrol);
141  }

◆ addSectionfeedback()

ilQTISection::addSectionfeedback (   $a_sectionfeedback)

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

184  {
185  array_push($this->sectionfeedback, $a_sectionfeedback);
186  }

◆ addSectionpostcondition()

ilQTISection::addSectionpostcondition (   $a_sectionpostcondition)

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

149  {
150  array_push($this->sectionpostcondition, $a_sectionpostcondition);
151  }

◆ addSectionprecondition()

ilQTISection::addSectionprecondition (   $a_sectionprecondition)

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

144  {
145  array_push($this->sectionprecondition, $a_sectionprecondition);
146  }

◆ addSectionref()

ilQTISection::addSectionref (   $a_sectionref)

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

219  {
220  array_push($this->sectionref, $a_sectionref);
221  }

◆ getComment()

ilQTISection::getComment ( )

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

References $comment.

98  {
99  return $this->comment;
100  }

◆ getDuration()

ilQTISection::getDuration ( )

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

References $duration.

114  {
115  return $this->duration;
116  }

◆ getIdent()

ilQTISection::getIdent ( )

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

References $ident.

78  {
79  return $this->ident;
80  }

◆ getPresentationMaterial()

ilQTISection::getPresentationMaterial ( )

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

References $presentation_material.

164  {
166  }

◆ getReference()

ilQTISection::getReference ( )

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

References $reference.

204  {
205  return $this->reference;
206  }

◆ getSectionprocExtension()

ilQTISection::getSectionprocExtension ( )

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

References $sectionproc_extension.

179  {
181  }

◆ getSelectionOrdering()

ilQTISection::getSelectionOrdering ( )

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

References $selection_ordering.

194  {
196  }

◆ getTitle()

ilQTISection::getTitle ( )

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

References $title.

88  {
89  return $this->title;
90  }

◆ getXmllang()

ilQTISection::getXmllang ( )

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

References $xmllang.

124  {
125  return $this->xmllang;
126  }

◆ setComment()

ilQTISection::setComment (   $a_comment)

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

References comment().

93  {
94  $this->comment = $a_comment;
95  }
comment()
Definition: comment.php:2
+ Here is the call graph for this function:

◆ setDuration()

ilQTISection::setDuration (   $a_duration)

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

References array.

103  {
104  if (preg_match("/P(\d+)Y(\d+)M(\d+)DT(\d+)H(\d+)M(\d+)S/", $a_duration, $matches)) {
105  $this->duration = array(
106  "h" => $matches[4],
107  "m" => $matches[5],
108  "s" => $matches[6]
109  );
110  }
111  }
Create styles array
The data for the language used.

◆ setIdent()

ilQTISection::setIdent (   $a_ident)

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

73  {
74  $this->ident = $a_ident;
75  }

◆ setPresentationMaterial()

ilQTISection::setPresentationMaterial (   $a_material)

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

159  {
160  $this->presentation_material = $a_material;
161  }

◆ setReference()

ilQTISection::setReference (   $a_reference)

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

199  {
200  $this->reference = $a_reference;
201  }

◆ setSectionprocExtension()

ilQTISection::setSectionprocExtension (   $a_sectionproc_extension)

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

174  {
175  $this->sectionproc_extension = $a_sectionproc_extension;
176  }

◆ setSelectionOrdering()

ilQTISection::setSelectionOrdering (   $a_selection_ordering)

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

189  {
190  $this->selection_ordering = $a_selection_ordering;
191  }

◆ setTitle()

ilQTISection::setTitle (   $a_title)

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

83  {
84  $this->title = $a_title;
85  }

◆ setXmllang()

ilQTISection::setXmllang (   $a_xmllang)

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

119  {
120  $this->xmllang = $a_xmllang;
121  }

Field Documentation

◆ $comment

ilQTISection::$comment

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

Referenced by getComment().

◆ $duration

ilQTISection::$duration

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

Referenced by getDuration().

◆ $ident

ilQTISection::$ident

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

Referenced by getIdent().

◆ $item

ilQTISection::$item

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

◆ $itemref

ilQTISection::$itemref

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

◆ $objectives

ilQTISection::$objectives

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

◆ $outcomes_processing

ilQTISection::$outcomes_processing

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

◆ $presentation_material

ilQTISection::$presentation_material

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

Referenced by getPresentationMaterial().

◆ $qtimetadata

ilQTISection::$qtimetadata

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

◆ $reference

ilQTISection::$reference

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

Referenced by getReference().

◆ $rubric

ilQTISection::$rubric

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

◆ $section

ilQTISection::$section

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

◆ $sectioncontrol

ilQTISection::$sectioncontrol

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

◆ $sectionfeedback

ilQTISection::$sectionfeedback

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

◆ $sectionpostcondition

ilQTISection::$sectionpostcondition

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

◆ $sectionprecondition

ilQTISection::$sectionprecondition

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

◆ $sectionproc_extension

ilQTISection::$sectionproc_extension

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

Referenced by getSectionprocExtension().

◆ $sectionref

ilQTISection::$sectionref

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

◆ $selection_ordering

ilQTISection::$selection_ordering

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

Referenced by getSelectionOrdering().

◆ $title

ilQTISection::$title

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

Referenced by getTitle().

◆ $xmllang

ilQTISection::$xmllang

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

Referenced by getXmllang().


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