ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilAssQuestionSkillAssignmentImportList Class Reference
+ Inheritance diagram for ilAssQuestionSkillAssignmentImportList:
+ Collaboration diagram for ilAssQuestionSkillAssignmentImportList:

Public Member Functions

 __construct ()
 ilAssQuestionSkillAssignmentImportList constructor. More...
 
 addAssignment (ilAssQuestionSkillAssignmentImport $assignment)
 
 assignmentsExist ()
 
 current ()
 
 next ()
 
 key ()
 
 valid ()
 
 rewind ()
 
 sleep ()
 
 wakeup ()
 

Protected Attributes

 $assignments
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilAssQuestionSkillAssignmentImportList::__construct ( )

ilAssQuestionSkillAssignmentImportList constructor.

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

References array.

23  {
24  $this->assignments = array();
25  }
Create styles array
The data for the language used.

Member Function Documentation

◆ addAssignment()

ilAssQuestionSkillAssignmentImportList::addAssignment ( ilAssQuestionSkillAssignmentImport  $assignment)
Parameters
ilAssQuestionSkillAssignmentImport$assignment

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

31  {
32  $this->assignments[] = $assignment;
33  }

◆ assignmentsExist()

ilAssQuestionSkillAssignmentImportList::assignmentsExist ( )

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

36  {
37  return count($this->assignments) > 0;
38  }

◆ current()

ilAssQuestionSkillAssignmentImportList::current ( )

◆ key()

ilAssQuestionSkillAssignmentImportList::key ( )
Returns
integer|bool

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

References $res.

Referenced by valid().

60  {
61  $res = key($this->assignments);
62  return $res;
63  }
foreach($_POST as $key=> $value) $res
+ Here is the caller graph for this function:

◆ next()

ilAssQuestionSkillAssignmentImportList::next ( )

◆ rewind()

ilAssQuestionSkillAssignmentImportList::rewind ( )
Returns
ilAssQuestionSkillAssignmentImport|bool

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

78  {
79  return reset($this->assignments);
80  }

◆ sleep()

ilAssQuestionSkillAssignmentImportList::sleep ( )

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

83  {
84  // TODO: Implement __sleep() method.
85  }

◆ valid()

ilAssQuestionSkillAssignmentImportList::valid ( )
Returns
bool

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

References $res, and key().

69  {
70  $res = key($this->assignments);
71  return $res !== null;
72  }
foreach($_POST as $key=> $value) $res
+ Here is the call graph for this function:

◆ wakeup()

ilAssQuestionSkillAssignmentImportList::wakeup ( )

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

88  {
89  // TODO: Implement __wakeup() method.
90  }

Field Documentation

◆ $assignments

ilAssQuestionSkillAssignmentImportList::$assignments
protected

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