16 require_once(
"./Modules/Scorm2004/classes/seq_editor/class.ilSCORM2004Item.php");
71 public function __construct($a_treeid = null, $a_rootlevel =
false)
73 parent::__construct($a_treeid, $a_rootlevel);
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);
129 return self::convertStringToBool($this->node->getAttribute(
"choice"));
134 return self::convertStringToBool($this->node->getAttribute(
"choiceExit"));
159 return self::convertStringToBool($this->node->getAttribute(
"flow"));
164 return self::convertStringToBool($this->node->getAttribute(
"forwardOnly"));
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;
setObjectiveMeasureWeight($val)
Class ilSCORM2004Condition.
getActivityAbsoluteDurationLimit()
$rollupProgressCompletion
$attemptAbsoluteDurationLimit
getRequiredForSatisfied()
getCompletionSetByContent()
$attemptExperiencedDurationLimit
getRollupObjectiveSatisfied()
setUseCurrentAttemptObjectiveInfo($val)
setRequiredForNotSatisfied($val)
setCompletionSetByContent($val)
$measureSatisfactionIfActive
setObjectiveSetByContent($val)
setRollupProgressCompletion($val)
setRandomizationTiming($val)
getRollupProgressCompletion()
setMeasureSatisfactionIfActive($val)
setActivityAbsoluteDurationLimit($val)
setUseCurrentAttemptProgressInfo($val)
getUseCurrentAttemptObjectiveInfo()
$useCurrentAttemptProgressInfo
setRequiredForCompleted($val)
setActivityExperiencedDurationLimit($val)
static convertStringToBool($a_string)
setRequiredForIncomplete($val)
getRequiredForNotSatisfied()
setRollupObjectiveSatisfied($val)
$activityExperiencedDurationLimit
setSeqNodeId($a_seqnodeid)
$rollupObjectiveSatisfied
setPreventActivation($val)
getMeasureSatisfactionIfActive()
$useCurrentAttemptObjectiveInfo
setAttemptAbsoluteDurationLimit($val)
getAttemptAbsoluteDurationLimit()
setAttemptExperiencedDurationLimit($val)
getRequiredForCompleted()
getObjectiveMeasureWeight()
$activityAbsoluteDurationLimit
Class ilSCORM2004Sequencing.
setRequiredForSatisfied($val)
getAttemptExperiencedDurationLimit()
setForwardOnly($a_forwardonly)
getActivityExperiencedDurationLimit()
getRequiredForIncomplete()
setChoiceExit($a_choicexit)
__construct($a_treeid=null, $a_rootlevel=false)
Constructor public.
getUseCurrentAttemptProgressInfo()
getObjectiveSetByContent()