ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilQTIAssessment Class Reference
+ Inheritance diagram for ilQTIAssessment:
+ Collaboration diagram for ilQTIAssessment:

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)
 
 addAssessmentcontrol ($a_assessmentcontrol)
 
 addRubric ($a_rubric)
 
 setPresentationMaterial (ilQTIPresentationMaterial $a_material)
 {
Parameters
ilQTIPresentationMaterial$flow_mat
} More...
 
 getPresentationMaterial ()
 {
Returns
ilQTIPresentationMaterial|null
} More...
 
 addOutcomesProcessing ($a_outcomes_processing)
 
 setAssessprocExtension ($a_assessproc_extension)
 
 getAssessprocExtension ()
 
 addAssessfeedback ($a_assessfeedback)
 
 setSelectionOrdering ($a_selection_ordering)
 
 getSelectionOrdering ()
 
 setReference ($a_reference)
 
 getReference ()
 
 addSectionref ($a_sectionref)
 
 addSection ($a_section)
 

Data Fields

 $ident
 
 $title
 
 $xmllang
 
 $comment
 
 $duration
 
 $qtimetadata
 
 $objectives
 
 $assessmentcontrol
 
 $rubric
 
 $outcomes_processing
 
 $assessproc_extension
 
 $assessfeedback
 
 $selection_ordering
 
 $reference
 
 $sectionref
 
 $section
 

Protected Attributes

 $presentation_material
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilQTIAssessment::__construct ( )

Definition at line 57 of file class.ilQTIAssessment.php.

58  {
59  $this->qtimetadata = array();
60  $this->objectives = array();
61  $this->assessmentcontrol = array();
62  $this->rubric = array();
63  $this->outcomes_processing = array();
64  $this->assessfeedback = array();
65  $this->sectionref = array();
66  $this->section = array();
67  }

Member Function Documentation

◆ addAssessfeedback()

ilQTIAssessment::addAssessfeedback (   $a_assessfeedback)

Definition at line 176 of file class.ilQTIAssessment.php.

177  {
178  array_push($this->assessfeedback, $a_assessfeedback);
179  }

◆ addAssessmentcontrol()

ilQTIAssessment::addAssessmentcontrol (   $a_assessmentcontrol)

Definition at line 135 of file class.ilQTIAssessment.php.

136  {
137  array_push($this->assessmentcontrol, $a_assessmentcontrol);
138  }

◆ addObjectives()

ilQTIAssessment::addObjectives (   $a_objectives)

Definition at line 130 of file class.ilQTIAssessment.php.

131  {
132  array_push($this->objectives, $a_objectives);
133  }

◆ addOutcomesProcessing()

ilQTIAssessment::addOutcomesProcessing (   $a_outcomes_processing)

Definition at line 161 of file class.ilQTIAssessment.php.

162  {
163  array_push($this->outcomes_processing, $a_outcomes_processing);
164  }

◆ addQtiMetadata()

ilQTIAssessment::addQtiMetadata (   $a_metadata)

Definition at line 125 of file class.ilQTIAssessment.php.

126  {
127  array_push($this->qtimetadata, $a_metadata);
128  }

◆ addRubric()

ilQTIAssessment::addRubric (   $a_rubric)

Definition at line 140 of file class.ilQTIAssessment.php.

141  {
142  array_push($this->rubric, $a_rubric);
143  }

◆ addSection()

ilQTIAssessment::addSection (   $a_section)

Definition at line 206 of file class.ilQTIAssessment.php.

207  {
208  array_push($this->section, $a_section);
209  }

◆ addSectionref()

ilQTIAssessment::addSectionref (   $a_sectionref)

Definition at line 201 of file class.ilQTIAssessment.php.

202  {
203  array_push($this->sectionref, $a_sectionref);
204  }

◆ getAssessprocExtension()

ilQTIAssessment::getAssessprocExtension ( )

Definition at line 171 of file class.ilQTIAssessment.php.

References $assessproc_extension.

172  {
174  }

◆ getComment()

ilQTIAssessment::getComment ( )

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

References $comment.

Referenced by ilObjTest\fromXML().

95  {
96  return $this->comment;
97  }
+ Here is the caller graph for this function:

◆ getDuration()

ilQTIAssessment::getDuration ( )

Definition at line 110 of file class.ilQTIAssessment.php.

References $duration.

111  {
112  return $this->duration;
113  }

◆ getIdent()

ilQTIAssessment::getIdent ( )

Definition at line 74 of file class.ilQTIAssessment.php.

References $ident.

75  {
76  return $this->ident;
77  }

◆ getPresentationMaterial()

ilQTIAssessment::getPresentationMaterial ( )

{

Returns
ilQTIPresentationMaterial|null
}

Implements ilQTIPresentationMaterialAware.

Definition at line 156 of file class.ilQTIAssessment.php.

References $presentation_material.

Referenced by ilObjTest\fromXML().

157  {
159  }
+ Here is the caller graph for this function:

◆ getReference()

ilQTIAssessment::getReference ( )

Definition at line 196 of file class.ilQTIAssessment.php.

References $reference.

197  {
198  return $this->reference;
199  }

◆ getSelectionOrdering()

ilQTIAssessment::getSelectionOrdering ( )

Definition at line 186 of file class.ilQTIAssessment.php.

References $selection_ordering.

187  {
189  }

◆ getTitle()

ilQTIAssessment::getTitle ( )

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

References $title.

Referenced by ilObjTest\fromXML().

85  {
86  return $this->title;
87  }
+ Here is the caller graph for this function:

◆ getXmllang()

ilQTIAssessment::getXmllang ( )

Definition at line 120 of file class.ilQTIAssessment.php.

References $xmllang.

121  {
122  return $this->xmllang;
123  }

◆ setAssessprocExtension()

ilQTIAssessment::setAssessprocExtension (   $a_assessproc_extension)

Definition at line 166 of file class.ilQTIAssessment.php.

167  {
168  $this->assessproc_extension = $a_assessproc_extension;
169  }

◆ setComment()

ilQTIAssessment::setComment (   $a_comment)

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

References comment().

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

◆ setDuration()

ilQTIAssessment::setDuration (   $a_duration)

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

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

◆ setIdent()

ilQTIAssessment::setIdent (   $a_ident)

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

70  {
71  $this->ident = $a_ident;
72  }

◆ setPresentationMaterial()

ilQTIAssessment::setPresentationMaterial ( ilQTIPresentationMaterial  $a_material)

{

Parameters
ilQTIPresentationMaterial$flow_mat
}

Implements ilQTIPresentationMaterialAware.

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

149  {
150  $this->presentation_material = $a_material;
151  }

◆ setReference()

ilQTIAssessment::setReference (   $a_reference)

Definition at line 191 of file class.ilQTIAssessment.php.

192  {
193  $this->reference = $a_reference;
194  }

◆ setSelectionOrdering()

ilQTIAssessment::setSelectionOrdering (   $a_selection_ordering)

Definition at line 181 of file class.ilQTIAssessment.php.

182  {
183  $this->selection_ordering = $a_selection_ordering;
184  }

◆ setTitle()

ilQTIAssessment::setTitle (   $a_title)

Definition at line 79 of file class.ilQTIAssessment.php.

80  {
81  $this->title = $a_title;
82  }

◆ setXmllang()

ilQTIAssessment::setXmllang (   $a_xmllang)

Definition at line 115 of file class.ilQTIAssessment.php.

116  {
117  $this->xmllang = $a_xmllang;
118  }

Field Documentation

◆ $assessfeedback

ilQTIAssessment::$assessfeedback

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

◆ $assessmentcontrol

ilQTIAssessment::$assessmentcontrol

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

◆ $assessproc_extension

ilQTIAssessment::$assessproc_extension

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

Referenced by getAssessprocExtension().

◆ $comment

ilQTIAssessment::$comment

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

Referenced by getComment().

◆ $duration

ilQTIAssessment::$duration

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

Referenced by getDuration().

◆ $ident

ilQTIAssessment::$ident

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

Referenced by getIdent().

◆ $objectives

ilQTIAssessment::$objectives

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

◆ $outcomes_processing

ilQTIAssessment::$outcomes_processing

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

◆ $presentation_material

ilQTIAssessment::$presentation_material
protected

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

Referenced by getPresentationMaterial().

◆ $qtimetadata

ilQTIAssessment::$qtimetadata

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

◆ $reference

ilQTIAssessment::$reference

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

Referenced by getReference().

◆ $rubric

ilQTIAssessment::$rubric

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

◆ $section

ilQTIAssessment::$section

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

◆ $sectionref

ilQTIAssessment::$sectionref

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

◆ $selection_ordering

ilQTIAssessment::$selection_ordering

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

Referenced by getSelectionOrdering().

◆ $title

ilQTIAssessment::$title

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

Referenced by getTitle().

◆ $xmllang

ilQTIAssessment::$xmllang

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

Referenced by getXmllang().


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