ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilAssQuestionSolutionComparisonExpressionImportList Class Reference
+ Inheritance diagram for ilAssQuestionSolutionComparisonExpressionImportList:
+ Collaboration diagram for ilAssQuestionSolutionComparisonExpressionImportList:

Public Member Functions

 __construct ()
 ilAssQuestionSolutionComparisonExpressionImportList constructor. More...
 
 getImportQuestionId ()
 
 setImportQuestionId ($importQuestionId)
 
 getImportSkillBaseId ()
 
 setImportSkillBaseId ($importSkillBaseId)
 
 getImportSkillTrefId ()
 
 setImportSkillTrefId ($importSkillTrefId)
 
 getExpressions ()
 
 addExpression (ilAssQuestionSolutionComparisonExpressionImport $expression)
 
 current ()
 
 next ()
 
 key ()
 
 valid ()
 
 rewind ()
 
 sleep ()
 
 wakeup ()
 

Private Attributes

 $importQuestionId
 
 $importSkillBaseId
 
 $importSkillTrefId
 
 $expressions
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilAssQuestionSolutionComparisonExpressionImportList::__construct ( )

ilAssQuestionSolutionComparisonExpressionImportList constructor.

Definition at line 50 of file class.ilAssQuestionSolutionComparisonExpressionImportList.php.

51  {
52  $this->importQuestionId = null;
53  $this->importSkillBaseId = null;
54  $this->importSkillTrefId = null;
55 
56  $this->expressions = array();
57  }

Member Function Documentation

◆ addExpression()

ilAssQuestionSolutionComparisonExpressionImportList::addExpression ( ilAssQuestionSolutionComparisonExpressionImport  $expression)

Definition at line 115 of file class.ilAssQuestionSolutionComparisonExpressionImportList.php.

References getImportQuestionId(), getImportSkillBaseId(), getImportSkillTrefId(), ilAssQuestionSolutionComparisonExpressionImport\getOrderIndex(), ilAssQuestionSolutionComparisonExpressionImport\setImportQuestionId(), ilAssQuestionSolutionComparisonExpressionImport\setImportSkillBaseId(), and ilAssQuestionSolutionComparisonExpressionImport\setImportSkillTrefId().

115  : void
116  {
117  $expression->setImportQuestionId($this->getImportQuestionId());
118  $expression->setImportSkillBaseId($this->getImportSkillBaseId());
119  $expression->setImportSkillTrefId($this->getImportSkillTrefId());
120 
121  $this->expressions[$expression->getOrderIndex()] = $expression;
122  }
+ Here is the call graph for this function:

◆ current()

◆ getExpressions()

ilAssQuestionSolutionComparisonExpressionImportList::getExpressions ( )

◆ getImportQuestionId()

ilAssQuestionSolutionComparisonExpressionImportList::getImportQuestionId ( )
Returns
int

Definition at line 62 of file class.ilAssQuestionSolutionComparisonExpressionImportList.php.

References $importQuestionId.

Referenced by addExpression().

+ Here is the caller graph for this function:

◆ getImportSkillBaseId()

ilAssQuestionSolutionComparisonExpressionImportList::getImportSkillBaseId ( )
Returns
int

Definition at line 78 of file class.ilAssQuestionSolutionComparisonExpressionImportList.php.

References $importSkillBaseId.

Referenced by addExpression().

+ Here is the caller graph for this function:

◆ getImportSkillTrefId()

ilAssQuestionSolutionComparisonExpressionImportList::getImportSkillTrefId ( )
Returns
int

Definition at line 94 of file class.ilAssQuestionSolutionComparisonExpressionImportList.php.

References $importSkillTrefId.

Referenced by addExpression().

+ Here is the caller graph for this function:

◆ key()

ilAssQuestionSolutionComparisonExpressionImportList::key ( )
Returns
integer|bool

Definition at line 143 of file class.ilAssQuestionSolutionComparisonExpressionImportList.php.

Referenced by valid().

+ Here is the caller graph for this function:

◆ next()

ilAssQuestionSolutionComparisonExpressionImportList::next ( )

◆ rewind()

ilAssQuestionSolutionComparisonExpressionImportList::rewind ( )
Returns
ilAssQuestionSolutionComparisonExpressionImport|bool

Definition at line 159 of file class.ilAssQuestionSolutionComparisonExpressionImportList.php.

160  {
161  return reset($this->expressions);
162  }

◆ setImportQuestionId()

ilAssQuestionSolutionComparisonExpressionImportList::setImportQuestionId (   $importQuestionId)
Parameters
int$importQuestionId

Definition at line 70 of file class.ilAssQuestionSolutionComparisonExpressionImportList.php.

References $importQuestionId.

◆ setImportSkillBaseId()

ilAssQuestionSolutionComparisonExpressionImportList::setImportSkillBaseId (   $importSkillBaseId)
Parameters
int$importSkillBaseId

Definition at line 86 of file class.ilAssQuestionSolutionComparisonExpressionImportList.php.

References $importSkillBaseId.

◆ setImportSkillTrefId()

ilAssQuestionSolutionComparisonExpressionImportList::setImportSkillTrefId (   $importSkillTrefId)
Parameters
int$importSkillTrefId

Definition at line 102 of file class.ilAssQuestionSolutionComparisonExpressionImportList.php.

References $importSkillTrefId.

◆ sleep()

ilAssQuestionSolutionComparisonExpressionImportList::sleep ( )

Definition at line 164 of file class.ilAssQuestionSolutionComparisonExpressionImportList.php.

164  : void
165  {
166  // TODO: Implement __sleep() method.
167  }

◆ valid()

ilAssQuestionSolutionComparisonExpressionImportList::valid ( )
Returns
bool

Definition at line 151 of file class.ilAssQuestionSolutionComparisonExpressionImportList.php.

References key().

151  : bool
152  {
153  return key($this->expressions) !== null;
154  }
+ Here is the call graph for this function:

◆ wakeup()

ilAssQuestionSolutionComparisonExpressionImportList::wakeup ( )

Definition at line 169 of file class.ilAssQuestionSolutionComparisonExpressionImportList.php.

169  : void
170  {
171  // TODO: Implement __wakeup() method.
172  }

Field Documentation

◆ $expressions

ilAssQuestionSolutionComparisonExpressionImportList::$expressions
private

◆ $importQuestionId

ilAssQuestionSolutionComparisonExpressionImportList::$importQuestionId
private

◆ $importSkillBaseId

ilAssQuestionSolutionComparisonExpressionImportList::$importSkillBaseId
private

◆ $importSkillTrefId

ilAssQuestionSolutionComparisonExpressionImportList::$importSkillTrefId
private

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