ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilAssQuestionSkillAssignmentImportList Class Reference
+ Inheritance diagram for ilAssQuestionSkillAssignmentImportList:
+ Collaboration diagram for ilAssQuestionSkillAssignmentImportList:

Public Member Functions

 __construct ()
 
 addAssignment (ilAssQuestionSkillAssignmentImport $assignment)
 
 assignmentsExist ()
 
 current ()
 
 next ()
 
 key ()
 
 valid ()
 
 rewind ()
 

Protected Attributes

array $assignments
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilAssQuestionSkillAssignmentImportList::__construct ( )

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

34 {
35 $this->assignments = [];
36 }

Member Function Documentation

◆ addAssignment()

ilAssQuestionSkillAssignmentImportList::addAssignment ( ilAssQuestionSkillAssignmentImport  $assignment)

Definition at line 38 of file class.ilAssQuestionSkillAssignmentImportList.php.

38 : void
39 {
40 $this->assignments[] = $assignment;
41 }

◆ assignmentsExist()

ilAssQuestionSkillAssignmentImportList::assignmentsExist ( )

Definition at line 43 of file class.ilAssQuestionSkillAssignmentImportList.php.

43 : bool
44 {
45 return count($this->assignments) > 0;
46 }

◆ current()

ilAssQuestionSkillAssignmentImportList::current ( )

Definition at line 48 of file class.ilAssQuestionSkillAssignmentImportList.php.

References current().

Referenced by current().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ key()

ilAssQuestionSkillAssignmentImportList::key ( )

Definition at line 59 of file class.ilAssQuestionSkillAssignmentImportList.php.

59 : ?int
60 {
61 return key($this->assignments);
62 }

References key().

Referenced by key(), and valid().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ next()

ilAssQuestionSkillAssignmentImportList::next ( )

Definition at line 54 of file class.ilAssQuestionSkillAssignmentImportList.php.

References next().

Referenced by next().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ rewind()

ilAssQuestionSkillAssignmentImportList::rewind ( )

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

70 : void
71 {
72 reset($this->assignments);
73 }

◆ valid()

ilAssQuestionSkillAssignmentImportList::valid ( )

Definition at line 64 of file class.ilAssQuestionSkillAssignmentImportList.php.

64 : bool
65 {
66 $res = key($this->assignments);
67 return $res !== null;
68 }
$res
Definition: ltiservices.php:69

References $res, and key().

+ Here is the call graph for this function:

Field Documentation

◆ $assignments

array ilAssQuestionSkillAssignmentImportList::$assignments
protected

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