ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
SeqActivity Class Reference
+ Collaboration diagram for SeqActivity:

Public Member Functions

 __construct ()
 addChild ($ioChild)
 setOrder ($iOrder)
 setActiveOrder ($iOrder)
 setParent ($iParent)
 setID ($id)
 setResourceID ($id)
 setIsVisible ($visible)
 setCompletionThreshold ($compThresh)
 setCompletedByMeasure ($compbm)
 setProgressWeight ($progweight)
 setControlModeChoice ($choice)
 setControlModeChoiceExit ($choiceExit)
 setControlModeFlow ($flow)
 setControlForwardOnly ($forwardOnly)
 setUseCurObjective ($useCurObjective)
 setUseCurProgress ($useCurProgress)
 setAttemptLimit ($value)
 setAttemptAbDur ($iDur)
 setAttemptExDur ($iDur)
 setActivityAbDur ($iDur)
 setActivityExDur ($iDur)
 setBeginTimeLimit ($iTime)
 setEndTimeLimit ($iTime)
 setRandomTiming ($iTiming)
 setSelectCount ($iCount)
 setReorderChildren ($iReorder)
 setSelectionTiming ($iTiming)
 setIsTracked ($iTracked)
 setSetCompletion ($iSet)
 setSetObjective ($iSet)
 setPreventActivation ($iPreventActivation)
 setConstrainChoice ($iConstrainChoice)
 setRequiredForSatisfied ($iConsider)
 setRequiredForNotSatisfied ($iConsider)
 setRequiredForCompleted ($iConsider)
 setRequiredForIncomplete ($iConsider)
 setSatisfactionIfActive ($iActiveMeasure)
 setTitle ($title)
 setPreSeqRules ($iRuleSet)
 setExitSeqRules ($iRuleSet)
 setPostSeqRules ($iRuleSet)
 setObjectives ($iObjs)
 setIsObjRolledUp ($iRolledup)
 setObjMeasureWeight ($iWeight)
 setIsProgressRolledUp ($iRolledup)
 setRollupRules ($iRuleSet)
 setAuxResources ($iRes)
 getID ()
 getIsVisible ()

Data Fields

 $mPreConditionRules = null
 $mPostConditionRules = null
 $mExitActionRules = null
 $mXML = null
 $mDepth = 0
 $mCount = -1
 $mLearnerID = "_NULL_"
 $mScopeID = null
 $mActivityID = null
 $mResourceID = null
 $mStateID = null
 $mTitle = null
 $mIsVisible = true
 $mOrder = -1
 $mActiveOrder = -1
 $mSelected = true
 $mParent = null
 $mIsActive = false
 $mIsSuspended = false
 $mChildren = null
 $mActiveChildren = null
 $mDeliveryMode = "normal"
 $mControl_choice = true
 $mControl_choiceExit = true
 $mControl_flow = false
 $mControl_forwardOnly = false
 $mConstrainChoice = false
 $mPreventActivation = false
 $mUseCurObj = true
 $mUseCurPro = true
 $mMaxAttemptControl = false
 $mMaxAttempt = 0
 $mAttemptAbDurControl = false
 $mAttemptAbDur = null
 $mAttemptExDurControl = false
 $mAttemptExDur = null
 $mActivityAbDurControl = false
 $mActivityAbDur = null
 $mActivityExDurControl = false
 $mActivityExDur = null
 $mBeginTimeControl = false
 $mBeginTime = null
 $mEndTimeControl = false
 $mEndTime = null
 $mAuxResources = null
 $mRollupRules = null
 $mActiveMeasure = true
 $mRequiredForSatisfied = ROLLUP_CONSIDER_ALWAYS
 $mRequiredForNotSatisfied = ROLLUP_CONSIDER_ALWAYS
 $mRequiredForCompleted = ROLLUP_CONSIDER_ALWAYS
 $mRequiredForIncomplete = ROLLUP_CONSIDER_ALWAYS
 $mObjectives = null
 $mObjMaps = null
 $mIsObjectiveRolledUp = true
 $mObjMeasureWeight = 1.0
 $mIsProgressRolledUp = true
 $mSelectTiming = "never"
 $mSelectStatus = false
 $mSelectCount = 0
 $mSelection = false
 $mRandomTiming = "never"
 $mReorder = false
 $mRandomized = false
 $mIsTracked = true
 $mContentSetsCompletion = false
 $mContentSetsObj = false
 $mCurTracking = null
 $mTracking = null
 $mNumAttempt = 0
 $mNumSCOAttempt = 0
 $mActivityAbDur_track = null
 $mActivityExDur_track = null
 $mProgressThreshold = 1.0
 $mProgressDeterminedByMeasure = false
 $mProgressWeight = 1.0

Detailed Description

Definition at line 60 of file SeqActivity.php.

Constructor & Destructor Documentation

SeqActivity::__construct ( )

Definition at line 235 of file SeqActivity.php.

{
//$this->mActiveChildren = array();
}

Member Function Documentation

SeqActivity::addChild (   $ioChild)

Definition at line 239 of file SeqActivity.php.

{
if ($this->mChildren == null) {
$this->mChildren = array();
}
if ($this->mActiveChildren == null) {
$this->mActiveChildren = array();
}
//set class
$c_ioChild['_SeqActivity']=$ioChild;
//keep both in sync
array_push($this->mChildren,$c_ioChild);
//array_push($this->mActiveChildren,$c_ioChild);
//$this->mActiveChildren = $this->mChildren;
$ioChild->setOrder(count($this->mChildren) - 1);
$ioChild->setActiveOrder(count($this->mChildren)- 1);
//set parents on the client
//$ioChild->setParent($this);
}
SeqActivity::getID ( )

Definition at line 549 of file SeqActivity.php.

References $mActivityID.

{
}
SeqActivity::getIsVisible ( )

Definition at line 555 of file SeqActivity.php.

References $mIsVisible.

{
}
SeqActivity::setActiveOrder (   $iOrder)

Definition at line 269 of file SeqActivity.php.

{
$this->mActiveOrder = $iOrder;
}
SeqActivity::setActivityAbDur (   $iDur)

Definition at line 363 of file SeqActivity.php.

{
if ( $iDur != null )
{
$this->mActivityAbDurControl = true;
//$this->mActivityAbDur = new ADLDuration(ADLDuration.FORMAT_SCHEMA, iDur);
}
else
{
$this->mActivityAbDurControl = false;
}
}
SeqActivity::setActivityExDur (   $iDur)

Definition at line 375 of file SeqActivity.php.

{
if ( $iDur != null )
{
$this->mmActivityExDurControl = true;
// $this->mmActivityExDur = new ADLDuration(ADLDuration.FORMAT_SCHEMA, iDur);
}
else
{
$this->mmActivityExDurControl = false;
}
}
SeqActivity::setAttemptAbDur (   $iDur)

Definition at line 339 of file SeqActivity.php.

{
if ( $iDur != null ) {
$this->mActivityAbDurControl = true;
//to be implemented
//convert duration
//$this->mActivityAbDur = new ADLDuration(ADLDuration.FORMAT_SCHEMA, iDur);
}
else {
$this->mActivityAbDurControl = false;
}
}
SeqActivity::setAttemptExDur (   $iDur)

Definition at line 351 of file SeqActivity.php.

{
if ( $iDur != null ) {
$this->mAttemptExDurControl = true;
//to be implemented
// $this->mAttemptExDur = new ADLDuration(ADLDuration.FORMAT_SCHEMA, iDur);
}
else
{
$this->mAttemptExDurControl = false;
}
}
SeqActivity::setAttemptLimit (   $value)

Definition at line 328 of file SeqActivity.php.

{
if ( $value >= 0 ) {
$this->mMaxAttemptControl = true;
$this->mMaxAttempt = $value;
}
else {
$this->mMaxAttemptControl = false;
$this->mMaxAttempt = -1;
}
}
SeqActivity::setAuxResources (   $iRes)

Definition at line 542 of file SeqActivity.php.

{
$this->mAuxResources = $iRes;
}
SeqActivity::setBeginTimeLimit (   $iTime)

Definition at line 387 of file SeqActivity.php.

{
if ( $iTime != null )
{
$this->mBeginTimeControl = true;
$this->mBeginTime = $iTime;
}
else
{
$this->mBeginTimeControl = false;
}
}
SeqActivity::setCompletedByMeasure (   $compbm)

Definition at line 296 of file SeqActivity.php.

{
$this->mProgressDeterminedByMeasure = $compbm;
}
SeqActivity::setCompletionThreshold (   $compThresh)

Definition at line 292 of file SeqActivity.php.

{
$this->mProgressThreshold = $compThresh;
}
SeqActivity::setConstrainChoice (   $iConstrainChoice)

Definition at line 475 of file SeqActivity.php.

{
$this->mConstrainChoice = $iConstrainChoice;
}
SeqActivity::setControlForwardOnly (   $forwardOnly)

Definition at line 316 of file SeqActivity.php.

{
$this->mControl_forwardOnly=$forwardOnly;
}
SeqActivity::setControlModeChoice (   $choice)

Definition at line 304 of file SeqActivity.php.

{
$this->mControl_choice=$choice;
}
SeqActivity::setControlModeChoiceExit (   $choiceExit)

Definition at line 308 of file SeqActivity.php.

{
$this->mControl_choiceExit=$choiceExit;
}
SeqActivity::setControlModeFlow (   $flow)

Definition at line 312 of file SeqActivity.php.

{
$this->mControl_flow=$flow;
}
SeqActivity::setEndTimeLimit (   $iTime)

Definition at line 399 of file SeqActivity.php.

{
if ( $iTime != null )
{
$this->mEndTimeControl = true;
$this->mEndTime = $iTime;
}
else
{
$this->mEndTimeControl = false;
}
}
SeqActivity::setExitSeqRules (   $iRuleSet)

Definition at line 507 of file SeqActivity.php.

{
$this->mExitActionRules = $iRuleSet;
}
SeqActivity::setID (   $id)

Definition at line 280 of file SeqActivity.php.

{
$this->mActivityID = $id;
}
SeqActivity::setIsObjRolledUp (   $iRolledup)

Definition at line 526 of file SeqActivity.php.

{
$this->mIsObjectiveRolledUp = $iRolledup;
}
SeqActivity::setIsProgressRolledUp (   $iRolledup)

Definition at line 534 of file SeqActivity.php.

{
$this->mIsProgressRolledUp = $iRolledup;
}
SeqActivity::setIsTracked (   $iTracked)

Definition at line 459 of file SeqActivity.php.

{
$this->mIsTracked = $iTracked;
}
SeqActivity::setIsVisible (   $visible)

Definition at line 288 of file SeqActivity.php.

{
$this->mIsVisible = $visible;
}
SeqActivity::setObjectives (   $iObjs)

Definition at line 515 of file SeqActivity.php.

{
$this->mObjectives = $iObjs;
for ( $i = 0; $i < count($iObjs); $i++ ) {
$obj = $iObjs[$i];
if ($obj['_SeqObjective']->mMaps!=null) {
$index=$obj['_SeqObjective']->mObjID;
$this->mObjMaps["$index"]=$obj['_SeqObjective']->mMaps;
}
}
}
SeqActivity::setObjMeasureWeight (   $iWeight)

Definition at line 530 of file SeqActivity.php.

{
$this->mObjMeasureWeight = $iWeight;
}
SeqActivity::setOrder (   $iOrder)

Definition at line 264 of file SeqActivity.php.

{
$this->mOrder = $iOrder;
}
SeqActivity::setParent (   $iParent)

Definition at line 273 of file SeqActivity.php.

{
$this->mParent = $iParent;
}
SeqActivity::setPostSeqRules (   $iRuleSet)

Definition at line 511 of file SeqActivity.php.

{
$this->mPostConditionRules = $iRuleSet;
}
SeqActivity::setPreSeqRules (   $iRuleSet)

Definition at line 503 of file SeqActivity.php.

{
$this->mPreConditionRules = $iRuleSet;
}
SeqActivity::setPreventActivation (   $iPreventActivation)

Definition at line 471 of file SeqActivity.php.

{
$this->mPreventActivation = $iPreventActivation;
}
SeqActivity::setProgressWeight (   $progweight)

Definition at line 300 of file SeqActivity.php.

{
$this->mProgressWeight = $progweight;
}
SeqActivity::setRandomTiming (   $iTiming)

Definition at line 411 of file SeqActivity.php.

References TIMING_EACHNEW, and TIMING_ONCE.

{
// Validate vocabulary
if ( !($this->iTiming == TIMING_NEVER ||
$this->iTiming == TIMING_ONCE ||
$this->iTiming == TIMING_EACHNEW ) )
{
$this->mSelectTiming = TIMING_NEVER;
}
else
{
$this->mRandomTiming = $iTiming;
}
}
SeqActivity::setReorderChildren (   $iReorder)

Definition at line 437 of file SeqActivity.php.

{
$this->mReorder = $iReorder;
}
SeqActivity::setRequiredForCompleted (   $iConsider)

Definition at line 487 of file SeqActivity.php.

{
$this->mRequiredForCompleted = $iConsider;
}
SeqActivity::setRequiredForIncomplete (   $iConsider)

Definition at line 491 of file SeqActivity.php.

{
$this->mRequiredForIncomplete = $iConsider;
}
SeqActivity::setRequiredForNotSatisfied (   $iConsider)

Definition at line 483 of file SeqActivity.php.

{
$this->mRequiredForNotSatisfied = $iConsider;
}
SeqActivity::setRequiredForSatisfied (   $iConsider)

Definition at line 479 of file SeqActivity.php.

{
$this->mRequiredForSatisfied = $iConsider;
}
SeqActivity::setResourceID (   $id)

Definition at line 284 of file SeqActivity.php.

{
$this->mResourceID = $id;
}
SeqActivity::setRollupRules (   $iRuleSet)

Definition at line 538 of file SeqActivity.php.

{
$this->mRollupRules = $iRuleSet;
}
SeqActivity::setSatisfactionIfActive (   $iActiveMeasure)

Definition at line 495 of file SeqActivity.php.

{
$this->mActiveMeasure = $iActiveMeasure;
}
SeqActivity::setSelectCount (   $iCount)

Definition at line 425 of file SeqActivity.php.

{
if ( $iCount >= 0 )
{
$this->mSelectStatus = true;
$this->mSelectCount = $iCount;
}
else
{
$this->mSelectStatus = false;
}
}
SeqActivity::setSelectionTiming (   $iTiming)

Definition at line 443 of file SeqActivity.php.

References TIMING_EACHNEW, and TIMING_ONCE.

{
// Validate vocabulary
if ( !($this->iTiming == TIMING_NEVER ||
$this->iTiming == TIMING_ONCE ||
$this->iTiming == TIMING_EACHNEW ) )
{
$this->mSelectTiming = TIMING_NEVER;
}
else
{
$this->mSelectTiming = $iTiming;
}
}
SeqActivity::setSetCompletion (   $iSet)

Definition at line 463 of file SeqActivity.php.

{
$this->mContentSetsCompletion = $iSet;
}
SeqActivity::setSetObjective (   $iSet)

Definition at line 467 of file SeqActivity.php.

{
$this->mContentSetsObj = $iSet;
}
SeqActivity::setTitle (   $title)

Definition at line 499 of file SeqActivity.php.

References $title.

{
$this->mTitle = $title;
}
SeqActivity::setUseCurObjective (   $useCurObjective)

Definition at line 320 of file SeqActivity.php.

{
$this->mUseCurObj=$useCurObjective;
}
SeqActivity::setUseCurProgress (   $useCurProgress)

Definition at line 324 of file SeqActivity.php.

{
$this->mUseCurPro=$useCurProgress;
}

Field Documentation

SeqActivity::$mActiveChildren = null

Definition at line 113 of file SeqActivity.php.

SeqActivity::$mActiveMeasure = true

Definition at line 170 of file SeqActivity.php.

SeqActivity::$mActiveOrder = -1

Definition at line 98 of file SeqActivity.php.

SeqActivity::$mActivityAbDur = null

Definition at line 149 of file SeqActivity.php.

SeqActivity::$mActivityAbDur_track = null

Definition at line 223 of file SeqActivity.php.

SeqActivity::$mActivityAbDurControl = false

Definition at line 146 of file SeqActivity.php.

SeqActivity::$mActivityExDur = null

Definition at line 154 of file SeqActivity.php.

SeqActivity::$mActivityExDur_track = null

Definition at line 226 of file SeqActivity.php.

SeqActivity::$mActivityExDurControl = false

Definition at line 151 of file SeqActivity.php.

SeqActivity::$mActivityID = null

Definition at line 86 of file SeqActivity.php.

Referenced by getID().

SeqActivity::$mAttemptAbDur = null

Definition at line 140 of file SeqActivity.php.

SeqActivity::$mAttemptAbDurControl = false

Definition at line 137 of file SeqActivity.php.

SeqActivity::$mAttemptExDur = null

Definition at line 144 of file SeqActivity.php.

SeqActivity::$mAttemptExDurControl = false

Definition at line 142 of file SeqActivity.php.

SeqActivity::$mAuxResources = null

Definition at line 165 of file SeqActivity.php.

SeqActivity::$mBeginTime = null

Definition at line 158 of file SeqActivity.php.

SeqActivity::$mBeginTimeControl = false

Definition at line 156 of file SeqActivity.php.

SeqActivity::$mChildren = null

Definition at line 110 of file SeqActivity.php.

SeqActivity::$mConstrainChoice = false

Definition at line 125 of file SeqActivity.php.

SeqActivity::$mContentSetsCompletion = false

Definition at line 208 of file SeqActivity.php.

SeqActivity::$mContentSetsObj = false

Definition at line 210 of file SeqActivity.php.

SeqActivity::$mControl_choice = true

Definition at line 117 of file SeqActivity.php.

SeqActivity::$mControl_choiceExit = true

Definition at line 119 of file SeqActivity.php.

SeqActivity::$mControl_flow = false

Definition at line 121 of file SeqActivity.php.

SeqActivity::$mControl_forwardOnly = false

Definition at line 123 of file SeqActivity.php.

SeqActivity::$mCount = -1

Definition at line 80 of file SeqActivity.php.

SeqActivity::$mCurTracking = null

Definition at line 213 of file SeqActivity.php.

SeqActivity::$mDeliveryMode = "normal"

Definition at line 115 of file SeqActivity.php.

SeqActivity::$mDepth = 0

Definition at line 78 of file SeqActivity.php.

SeqActivity::$mEndTime = null

Definition at line 162 of file SeqActivity.php.

SeqActivity::$mEndTimeControl = false

Definition at line 160 of file SeqActivity.php.

SeqActivity::$mExitActionRules = null

Definition at line 74 of file SeqActivity.php.

SeqActivity::$mIsActive = false

Definition at line 105 of file SeqActivity.php.

SeqActivity::$mIsObjectiveRolledUp = true

Definition at line 186 of file SeqActivity.php.

SeqActivity::$mIsProgressRolledUp = true

Definition at line 190 of file SeqActivity.php.

SeqActivity::$mIsSuspended = false

Definition at line 107 of file SeqActivity.php.

SeqActivity::$mIsTracked = true

Definition at line 206 of file SeqActivity.php.

SeqActivity::$mIsVisible = true

Definition at line 94 of file SeqActivity.php.

Referenced by getIsVisible().

SeqActivity::$mLearnerID = "_NULL_"

Definition at line 82 of file SeqActivity.php.

SeqActivity::$mMaxAttempt = 0

Definition at line 135 of file SeqActivity.php.

SeqActivity::$mMaxAttemptControl = false

Definition at line 133 of file SeqActivity.php.

SeqActivity::$mNumAttempt = 0

Definition at line 218 of file SeqActivity.php.

SeqActivity::$mNumSCOAttempt = 0

Definition at line 220 of file SeqActivity.php.

SeqActivity::$mObjectives = null

Definition at line 181 of file SeqActivity.php.

SeqActivity::$mObjMaps = null

Definition at line 184 of file SeqActivity.php.

SeqActivity::$mObjMeasureWeight = 1.0

Definition at line 188 of file SeqActivity.php.

SeqActivity::$mOrder = -1

Definition at line 96 of file SeqActivity.php.

SeqActivity::$mParent = null

Definition at line 103 of file SeqActivity.php.

SeqActivity::$mPostConditionRules = null

Definition at line 71 of file SeqActivity.php.

SeqActivity::$mPreConditionRules = null

Definition at line 68 of file SeqActivity.php.

SeqActivity::$mPreventActivation = false

Definition at line 127 of file SeqActivity.php.

SeqActivity::$mProgressDeterminedByMeasure = false

Definition at line 230 of file SeqActivity.php.

SeqActivity::$mProgressThreshold = 1.0

Definition at line 228 of file SeqActivity.php.

SeqActivity::$mProgressWeight = 1.0

Definition at line 232 of file SeqActivity.php.

SeqActivity::$mRandomized = false

Definition at line 204 of file SeqActivity.php.

SeqActivity::$mRandomTiming = "never"

Definition at line 200 of file SeqActivity.php.

SeqActivity::$mReorder = false

Definition at line 202 of file SeqActivity.php.

SeqActivity::$mRequiredForCompleted = ROLLUP_CONSIDER_ALWAYS

Definition at line 176 of file SeqActivity.php.

SeqActivity::$mRequiredForIncomplete = ROLLUP_CONSIDER_ALWAYS

Definition at line 178 of file SeqActivity.php.

SeqActivity::$mRequiredForNotSatisfied = ROLLUP_CONSIDER_ALWAYS

Definition at line 174 of file SeqActivity.php.

SeqActivity::$mRequiredForSatisfied = ROLLUP_CONSIDER_ALWAYS

Definition at line 172 of file SeqActivity.php.

SeqActivity::$mResourceID = null

Definition at line 88 of file SeqActivity.php.

SeqActivity::$mRollupRules = null

Definition at line 168 of file SeqActivity.php.

SeqActivity::$mScopeID = null

Definition at line 84 of file SeqActivity.php.

SeqActivity::$mSelectCount = 0

Definition at line 196 of file SeqActivity.php.

SeqActivity::$mSelected = true

Definition at line 100 of file SeqActivity.php.

SeqActivity::$mSelection = false

Definition at line 198 of file SeqActivity.php.

SeqActivity::$mSelectStatus = false

Definition at line 194 of file SeqActivity.php.

SeqActivity::$mSelectTiming = "never"

Definition at line 192 of file SeqActivity.php.

SeqActivity::$mStateID = null

Definition at line 90 of file SeqActivity.php.

SeqActivity::$mTitle = null

Definition at line 92 of file SeqActivity.php.

SeqActivity::$mTracking = null

Definition at line 216 of file SeqActivity.php.

SeqActivity::$mUseCurObj = true

Definition at line 129 of file SeqActivity.php.

SeqActivity::$mUseCurPro = true

Definition at line 131 of file SeqActivity.php.

SeqActivity::$mXML = null

Definition at line 76 of file SeqActivity.php.


The documentation for this class was generated from the following file: