3declare(strict_types=1);
 
   21   define(
"TIMING_ONCE", 
"once");
 
   22   define(
"TIMING_EACHNEW", 
"onEachNewAttempt");
 
   23   define(
"TER_EXITALL", 
"_EXITALL_");
 
   24   define(
"TIMING_NEVER", 
"never");
 
  211        if ($this->mChildren == 
null) {
 
  212            $this->mChildren = array();
 
  214        if ($this->mActiveChildren == 
null) {
 
  215            $this->mActiveChildren = array();
 
  219        $c_ioChild[
'_SeqActivity'] = $ioChild;
 
  222        $this->mChildren[] = $c_ioChild;
 
  227        $ioChild->setOrder(count($this->mChildren) - 1);
 
  228        $ioChild->setActiveOrder(count($this->mChildren) - 1);
 
  236        $this->mOrder = $iOrder;
 
  241        $this->mActiveOrder = $iOrder;
 
  246        $this->mParent = $iParent;
 
  254        $this->mActivityID = 
$id;
 
  259        $this->mResourceID = 
$id;
 
  264        $this->mIsVisible = $visible;
 
  269        $this->mProgressThreshold = $compThresh;
 
  274        $this->mProgressDeterminedByMeasure = $compbm;
 
  279        $this->mProgressWeight = $progweight;
 
  284        $this->mControl_choice = $choice;
 
  289        $this->mControl_choiceExit = $choiceExit;
 
  294        $this->mControl_flow = $flow;
 
  299        $this->mControl_forwardOnly = $forwardOnly;
 
  304        $this->mUseCurObj = $useCurObjective;
 
  309        $this->mUseCurPro = $useCurProgress;
 
  315            $this->mMaxAttemptControl = 
true;
 
  316            $this->mMaxAttempt = $value;
 
  318            $this->mMaxAttemptControl = 
false;
 
  319            $this->mMaxAttempt = -1;
 
  326            $this->mActivityAbDurControl = 
true;
 
  331            $this->mActivityAbDurControl = 
false;
 
  338            $this->mAttemptExDurControl = 
true;
 
  342            $this->mAttemptExDurControl = 
false;
 
  349            $this->mActivityAbDurControl = 
true;
 
  352            $this->mActivityAbDurControl = 
false;
 
  359            $this->mmActivityExDurControl = 
true;
 
  362            $this->mmActivityExDurControl = 
false;
 
  368        if ($iTime != 
null) {
 
  369            $this->mBeginTimeControl = 
true;
 
  370            $this->mBeginTime = $iTime;
 
  372            $this->mBeginTimeControl = 
false;
 
  378        if ($iTime != 
null) {
 
  379            $this->mEndTimeControl = 
true;
 
  380            $this->mEndTime = $iTime;
 
  382            $this->mEndTimeControl = 
false;
 
  401            $this->mSelectStatus = 
true;
 
  402            $this->mSelectCount = $iCount;
 
  404            $this->mSelectStatus = 
false;
 
  410        $this->mReorder = $iReorder;
 
  429        $this->mIsTracked = $iTracked;
 
  434        $this->mContentSetsCompletion = $iSet;
 
  439        $this->mContentSetsObj = $iSet;
 
  444        $this->mPreventActivation = $iPreventActivation;
 
  449        $this->mConstrainChoice = $iConstrainChoice;
 
  454        $this->mRequiredForSatisfied = $iConsider;
 
  459        $this->mRequiredForNotSatisfied = $iConsider;
 
  464        $this->mRequiredForCompleted = $iConsider;
 
  469        $this->mRequiredForIncomplete = $iConsider;
 
  474        $this->mActiveMeasure = $iActiveMeasure;
 
  479        $this->mTitle = $title;
 
  484        $this->mPreConditionRules = $iRuleSet;
 
  489        $this->mExitActionRules = $iRuleSet;
 
  494        $this->mPostConditionRules = $iRuleSet;
 
  499        $this->mObjectives = $iObjs;
 
  500        foreach ($iObjs as $value) {
 
  502            if ($obj[
'_SeqObjective']->mMaps != 
null) {
 
  503                $index = $obj[
'_SeqObjective']->mObjID;
 
  504                $this->mObjMaps[
"$index"] = $obj[
'_SeqObjective']->mMaps;
 
  511        $this->mIsObjectiveRolledUp = $iRolledup;
 
  516        $this->mObjMeasureWeight = $iWeight;
 
  521        $this->mIsProgressRolledUp = $iRolledup;
 
  526        $this->mRollupRules = $iRuleSet;
 
  531        $this->mAuxResources = $iRes;
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
 
const TIMING_ONCE
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
const ROLLUP_CONSIDER_ALWAYS
 
setRandomTiming(string $iTiming)
 
bool $mActivityExDurControl
 
setReorderChildren(bool $iReorder)
 
string $mActivityAbDur_track
 
setControlModeFlow(bool $flow)
 
setPostSeqRules(?array $iRuleSet)
 
setParent(string $iParent)
 
setConstrainChoice(bool $iConstrainChoice)
 
setUseCurProgress(bool $useCurProgress)
 
setSetObjective(bool $iSet)
 
setRequiredForCompleted(string $iConsider)
 
setIsProgressRolledUp(bool $iRolledup)
 
setControlModeChoiceExit(bool $choiceExit)
 
setControlModeChoice(bool $choice)
 
setCompletionThreshold(float $compThresh)
 
setIsObjRolledUp(bool $iRolledup)
 
bool $mProgressDeterminedByMeasure
 
string $mActivityExDur_track
 
setRequiredForSatisfied(string $iConsider)
 
setResourceID(string $id)
 
setAuxResources(string $iRes)
 
setSetCompletion(bool $iSet)
 
bool $mControl_choiceExit
 
setRequiredForNotSatisfied(string $iConsider)
 
setUseCurObjective(bool $useCurObjective)
 
bool $mControl_forwardOnly
 
setSelectCount(int $iCount)
 
setExitSeqRules(?array $iRuleSet)
 
bool $mIsObjectiveRolledUp
 
addChild(object $ioChild)
 
bool $mAttemptAbDurControl
 
bool $mAttemptExDurControl
 
setRequiredForIncomplete(string $iConsider)
 
string $mRequiredForCompleted
 
bool $mContentSetsCompletion
 
setSelectionTiming(string $iTiming)
 
setAttemptAbDur(?string $iDur)
 
setActiveOrder(int $iOrder)
 
setObjectives(array $iObjs)
 
array $mPostConditionRules
 
setActivityExDur(?string $iDur)
 
setRollupRules(?array $iRuleSet)
 
array $mPreConditionRules
 
string $mRequiredForNotSatisfied
 
setAttemptExDur(?string $iDur)
 
string $mRequiredForIncomplete
 
setProgressWeight(float $progweight)
 
float $mProgressThreshold
 
setAttemptLimit(int $value)
 
bool $mmActivityExDurControl
 
setControlForwardOnly(bool $forwardOnly)
 
setBeginTimeLimit(?string $iTime)
 
setPreSeqRules(?array $iRuleSet)
 
setCompletedByMeasure(bool $compbm)
 
setIsTracked(bool $iTracked)
 
bool $mActivityAbDurControl
 
setIsVisible(bool $visible)
 
bool $mIsProgressRolledUp
 
setObjMeasureWeight(float $iWeight)
 
setEndTimeLimit(?string $iTime)
 
setPreventActivation(bool $iPreventActivation)
 
setSatisfactionIfActive(bool $iActiveMeasure)
 
setActivityAbDur(?string $iDur)
 
string $mRequiredForSatisfied