16 require_once(
"./Modules/Scorm2004/classes/seq_editor/class.ilSCORM2004Item.php");
75 if ($a_treeid != null) {
76 $xpath_obj =
new DOMXPath($this->dom);
77 $obj_node_list = $xpath_obj->query(
'//controlMode');
78 $this->
setNode($obj_node_list->item(0));
79 if ($obj_node_list->length!=1 ) {
80 $obj_con = $this->dom->createElement(
"controlMode");
81 $root = $this->dom->getElementsByTagName(
"sequencing")->item(0);
82 $root->appendChild($obj_con);
83 $this->node =$this->dom->getElementsByTagName(
"controlMode")->item(0);
269 $this->activityAbsoluteDurationLimit = $val;
274 $this->activityExperiencedDurationLimit = $val;
279 $this->attemptAbsoluteDurationLimit = $val;
284 $this->attemptExperiencedDurationLimit = $val;
289 $this->attemptLimit = $val;
294 $this->beginTimeLimit = $val;
299 $this->node->setAttribute(
"choice",$a_choice ?
"true":
"false");
304 $this->node->setAttribute(
"choiceExit",$a_choicexit ?
"true":
"false");
309 $this->completionSetByContent = $val;
314 $this->constrainChoice = $val;
319 $this->seqNodeId = $a_seqnodeid;
324 $this->endTimeLimit = $val;
329 $this->node->setAttribute(
"flow",$a_flow ?
"true":
"false");
334 $this->node->setAttribute(
"forwardOnly",$a_forwardonly ?
"true":
"false");
344 $this->measureSatisfactionIfActive = $val;
349 $this->objectiveMeasureWeight = $val;
354 $this->objectiveSetByContent = $val;
359 $this->preventActivation = $val;
364 $this->randomizationTiming = $val;
369 $this->reorderChildren = $val;
374 $this->requiredForCompleted = $val;
379 $this->requiredForIncomplete = $val;
384 $this->requiredForNotSatisfied = $val;
389 $this->requiredForSatisfied = $val;
394 $this->rollupObjectiveSatisfied = $val;
399 $this->rollupProgressCompletion = $val;
404 $this->selectCount = $val;
409 $this->selectionTiming = $val;
414 $this->sequencingId = $val;
419 $this->tracked = $val;
424 $this->useCurrentAttemptObjectiveInfo = $val;
429 $this->useCurrentAttemptProgressInfo = $val;
435 $this->importid = $a_importid;
441 $this->node = $a_node;