41 $this->db = $DIC->database();
42 $this->log = $DIC[
"ilLog"];
87 $ilLog->write(
"SCORM: getLeftRightInfo");
88 $query =
"SELECT * FROM sahs_sc13_seq_tree WHERE (child = " .
92 $ilLog->write(
"SCORM: getLeftRightInfo executed" .
$query);
93 $obj_rec =
$ilDB->fetchAssoc($obj_set);
94 return array(
"left" => $obj_rec[
"lft"],
"right" => $obj_rec[
"rgt"]);
103 $ilLog->write(
"SCORM: getSeqNodeId: " . $all_props[
"seqnodeid"]);
104 return $all_props[
"seqnodeid"];
111 $ilLog->write(
"SCORM: getSequencingId for" . $this->
getId());
112 $query =
"SELECT * FROM sahs_sc13_seq_item WHERE sahs_sc13_tree_node_id = " .
116 return $obj_rec[
'sequencingid'];
123 $ilLog->write(
"SCORM: getSequencingId for" . $this->
getId);
124 $query =
"SELECT * FROM sahs_sc13_seq_item WHERE sahs_sc13_tree_node_id = " .
128 return $obj_rec[
'seqnodeid'];
135 $ilLog->write(
"SCORM: getImportIdent for" . $this->
getId);
136 $query =
"SELECT * FROM sahs_sc13_seq_item WHERE sahs_sc13_tree_node_id = " .
140 return $obj_rec[
'importid'];
154 $ilLog->write(
"SCORM: getAllowedActions for" . $this->tree_node_id);
155 $query =
"SELECT * FROM sahs_sc13_seq_item WHERE sahs_sc13_tree_node_id = " .
159 return array(
"copy" => !$obj_rec[
'nocopy'],
"move" => !$obj_rec[
'nomove'],
"delete" => !$obj_rec[
'nodelete']);
165 $query =
"SELECT * FROM sahs_sc13_seq_seq WHERE id = " .
169 $c_properties = array(
170 'flow' => $obj_rec[
'flow'],
171 'forwardOnly' => $obj_rec[
'forwardonly'],
172 'choice' => $obj_rec[
'choice'],
173 'choiceExit' => $obj_rec[
'choiceexit'] );
174 return $c_properties;
181 $query =
"SELECT * FROM sahs_sc13_seq_seq WHERE (id = " .
188 'importId' => $obj_rec[
'importid'],
189 'activityAbsoluteDurationLimit' => $obj_rec[
'activityabsolutedurationlimit'],
190 'activityExperiencedDurationLimit' => $obj_rec[
'activityexperienceddurlimit'],
191 'attemptAbsoluteDurationLimit' => $obj_rec[
'attemptabsolutedurationlimit'],
192 'attemptExperiencedDurationLimit' => $obj_rec[
'attemptexperienceddurlimit'],
193 'attemptLimit' => $obj_rec[
'attemptlimit'],
194 'beginTimeLimit' => $obj_rec[
'begintimelimit'],
195 'completionSetByContent' => $obj_rec[
'completionsetbycontent'],
196 'constrainChoice' => $obj_rec[
'constrainchoice'],
197 'seqNodeId' => $obj_rec[
'seqnodeid'],
198 'endTimeLimit' => $obj_rec[
'endtimelimit'],
199 'id' => $obj_rec[
'id'],
200 'measureSatisfactionIfActive' => $obj_rec[
'measuresatisfactionifactive'],
201 'objectiveMeasureWeight' => $obj_rec[
'objectivemeasureweight'],
202 'objectiveSetByContent' => $obj_rec[
'objectivesetbycontent'],
203 'preventActivation' => $obj_rec[
'preventactivation'],
204 'randomizationTiming' => $obj_rec[
'randomizationtiming'],
205 'reorderChildren' => $obj_rec[
'reorderchildren'],
206 'requiredForCompleted' => $obj_rec[
'requiredforcompleted'],
207 'requiredForIncomplete' => $obj_rec[
'requiredforincomplete'],
208 'requiredForNotSatisfied' => $obj_rec[
'requiredfornotsatisfied'],
209 'requiredForSatisfied' => $obj_rec[
'requiredforsatisfied'],
210 'rollupObjectiveSatisfied' => $obj_rec[
'rollupobjectivesatisfied'],
211 'rollupProgressCompletion' => $obj_rec[
'rollupprogresscompletion'],
212 'selectCount' => $obj_rec[
'selectcount'],
213 'selectionTiming' => $obj_rec[
'selectiontiming'],
214 'sequencingId' => $obj_rec[
'sequencingid'],
215 'tracked' => $obj_rec[
'tracked'],
216 'useCurrentAttemptObjectiveInfo' => $obj_rec[
'usecurrentattemptobjectiveinfo'],
217 'useCurrentAttemptProgressInfo' => $obj_rec[
'usecurrentattemptprogressinfo'],
218 'flow' => $obj_rec[
'flow'],
219 'forwardOnly' => $obj_rec[
'forwardonly'],
220 'choice' => $obj_rec[
'choice'],
221 'choiceExit' => $obj_rec[
'choiceexit'] );
Class ilSCORM2004Utilities.
getControlModeProperties()
getAllSequencingProperties()