36 require_once(
"./Modules/Scorm2004/classes/seq_editor/class.ilSCORM2004Item.php");
95 if ($a_treeid != null) {
96 $xpath_obj =
new DOMXPath($this->dom);
97 $obj_node_list = $xpath_obj->query(
'//controlMode');
98 $this->
setNode($obj_node_list->item(0));
99 if ($obj_node_list->length!=1 ) {
100 $obj_con = $this->dom->createElement(
"controlMode");
101 $root = $this->dom->getElementsByTagName(
"sequencing")->item(0);
102 $root->appendChild($obj_con);
103 $this->node =$this->dom->getElementsByTagName(
"controlMode")->item(0);
289 $this->activityAbsoluteDurationLimit = $val;
294 $this->activityExperiencedDurationLimit = $val;
299 $this->attemptAbsoluteDurationLimit = $val;
304 $this->attemptExperiencedDurationLimit = $val;
309 $this->attemptLimit = $val;
314 $this->beginTimeLimit = $val;
319 $this->node->setAttribute(
"choice",$a_choice ?
"true":
"false");
324 $this->node->setAttribute(
"choiceExit",$a_choicexit ?
"true":
"false");
329 $this->completionSetByContent = $val;
334 $this->constrainChoice = $val;
339 $this->seqNodeId = $a_seqnodeid;
344 $this->endTimeLimit = $val;
349 $this->node->setAttribute(
"flow",$a_flow ?
"true":
"false");
354 $this->node->setAttribute(
"forwardOnly",$a_forwardonly ?
"true":
"false");
364 $this->measureSatisfactionIfActive = $val;
369 $this->objectiveMeasureWeight = $val;
374 $this->objectiveSetByContent = $val;
379 $this->preventActivation = $val;
384 $this->randomizationTiming = $val;
389 $this->reorderChildren = $val;
394 $this->requiredForCompleted = $val;
399 $this->requiredForIncomplete = $val;
404 $this->requiredForNotSatisfied = $val;
409 $this->requiredForSatisfied = $val;
414 $this->rollupObjectiveSatisfied = $val;
419 $this->rollupProgressCompletion = $val;
424 $this->selectCount = $val;
429 $this->selectionTiming = $val;
434 $this->sequencingId = $val;
439 $this->tracked = $val;
444 $this->useCurrentAttemptObjectiveInfo = $val;
449 $this->useCurrentAttemptProgressInfo = $val;
455 $this->importid = $a_importid;
461 $this->node = $a_node;