ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilTestReindexedSequencePositionMap Class Reference
+ Collaboration diagram for ilTestReindexedSequencePositionMap:

Public Member Functions

 addPositionMapping ($oldSequencePosition, $newSequencePosition)
 
 getNewSequencePosition ($oldSequencePosition)
 

Protected Attributes

 $sequencePositionMap = array()
 

Detailed Description

Definition at line 13 of file class.ilTestReindexedSequencePositionMap.php.

Member Function Documentation

◆ addPositionMapping()

ilTestReindexedSequencePositionMap::addPositionMapping (   $oldSequencePosition,
  $newSequencePosition 
)
Parameters
int$oldSequencePosition
int$newSequencePosition

Definition at line 24 of file class.ilTestReindexedSequencePositionMap.php.

25  {
26  $this->sequencePositionMap[$oldSequencePosition] = $newSequencePosition;
27  }

◆ getNewSequencePosition()

ilTestReindexedSequencePositionMap::getNewSequencePosition (   $oldSequencePosition)
Parameters
int$oldSequencePosition
Returns
int

Definition at line 33 of file class.ilTestReindexedSequencePositionMap.php.

Referenced by ilTestSequenceFixedQuestionSet\removeQuestion().

34  {
35  return $this->sequencePositionMap[$oldSequencePosition];
36  }
+ Here is the caller graph for this function:

Field Documentation

◆ $sequencePositionMap

ilTestReindexedSequencePositionMap::$sequencePositionMap = array()
protected

Definition at line 18 of file class.ilTestReindexedSequencePositionMap.php.


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