ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilQTISection Class Reference
+ Collaboration diagram for ilQTISection:

Public Member Functions

 ilQTISection ()
 
 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.

Member Function Documentation

◆ addItem()

ilQTISection::addItem (   $a_item)

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

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

◆ addItemref()

ilQTISection::addItemref (   $a_itemref)

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

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

◆ addObjectives()

ilQTISection::addObjectives (   $a_objectives)

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

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

◆ addOutcomesProcessing()

ilQTISection::addOutcomesProcessing (   $a_outcomes_processing)

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

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

◆ addQtiMetadata()

ilQTISection::addQtiMetadata (   $a_metadata)

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

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

◆ addRubric()

ilQTISection::addRubric (   $a_rubric)

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

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

◆ addSection()

ilQTISection::addSection (   $a_section)

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

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

◆ addSectioncontrol()

ilQTISection::addSectioncontrol (   $a_sectioncontrol)

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

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

◆ addSectionfeedback()

ilQTISection::addSectionfeedback (   $a_sectionfeedback)

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

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

◆ addSectionpostcondition()

ilQTISection::addSectionpostcondition (   $a_sectionpostcondition)

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

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

◆ addSectionprecondition()

ilQTISection::addSectionprecondition (   $a_sectionprecondition)

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

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

◆ addSectionref()

ilQTISection::addSectionref (   $a_sectionref)

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

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

◆ getComment()

ilQTISection::getComment ( )

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

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

References $comment.

◆ getDuration()

ilQTISection::getDuration ( )

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

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

References $duration.

◆ getIdent()

ilQTISection::getIdent ( )

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

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

References $ident.

◆ getPresentationMaterial()

ilQTISection::getPresentationMaterial ( )

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

165 {
167 }

References $presentation_material.

◆ getReference()

ilQTISection::getReference ( )

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

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

References $reference.

◆ getSectionprocExtension()

ilQTISection::getSectionprocExtension ( )

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

180 {
182 }

References $sectionproc_extension.

◆ getSelectionOrdering()

ilQTISection::getSelectionOrdering ( )

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

195 {
197 }

References $selection_ordering.

◆ getTitle()

ilQTISection::getTitle ( )

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

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

References $title.

◆ getXmllang()

ilQTISection::getXmllang ( )

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

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

References $xmllang.

◆ ilQTISection()

ilQTISection::ilQTISection ( )

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

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 }

◆ setComment()

ilQTISection::setComment (   $a_comment)

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

93 {
94 $this->comment = $a_comment;
95 }

◆ setDuration()

ilQTISection::setDuration (   $a_duration)

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

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

◆ 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 159 of file class.ilQTISection.php.

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

◆ setReference()

ilQTISection::setReference (   $a_reference)

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

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

◆ setSectionprocExtension()

ilQTISection::setSectionprocExtension (   $a_sectionproc_extension)

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

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

◆ setSelectionOrdering()

ilQTISection::setSelectionOrdering (   $a_selection_ordering)

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

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

◆ 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 119 of file class.ilQTISection.php.

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

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: