ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilAssQuestionAssignedSkillList Class Reference
+ Inheritance diagram for ilAssQuestionAssignedSkillList:
+ Collaboration diagram for ilAssQuestionAssignedSkillList:

Public Member Functions

 addSkill ($skillBaseId, $skillTrefId)
 
 skillsExist ()
 
 current ()
 
 next ()
 
 key ()
 
 valid ()
 
 rewind ()
 
 sleep ()
 
 wakeup ()
 

Protected Attributes

 $skills = array()
 

Detailed Description

Definition at line 10 of file class.ilAssQuestionAssignedSkillList.php.

Member Function Documentation

◆ addSkill()

ilAssQuestionAssignedSkillList::addSkill (   $skillBaseId,
  $skillTrefId 
)
Parameters
integer$skillBaseId
integer$skillTrefId

Definition at line 21 of file class.ilAssQuestionAssignedSkillList.php.

22  {
23  $this->skills[] = "{$skillBaseId}:{$skillTrefId}";
24  }

◆ current()

ilAssQuestionAssignedSkillList::current ( )
Returns
array

Definition at line 37 of file class.ilAssQuestionAssignedSkillList.php.

38  {
39  return current($this->skills);
40  }

◆ key()

ilAssQuestionAssignedSkillList::key ( )
Returns
integer|bool

Definition at line 53 of file class.ilAssQuestionAssignedSkillList.php.

References $res.

Referenced by valid().

54  {
55  $res = key($this->skills);
56  return $res;
57  }
+ Here is the caller graph for this function:

◆ next()

ilAssQuestionAssignedSkillList::next ( )
Returns
array

Definition at line 45 of file class.ilAssQuestionAssignedSkillList.php.

46  {
47  return next($this->skills);
48  }

◆ rewind()

ilAssQuestionAssignedSkillList::rewind ( )
Returns
array|bool

Definition at line 71 of file class.ilAssQuestionAssignedSkillList.php.

72  {
73  return reset($this->skills);
74  }

◆ skillsExist()

ilAssQuestionAssignedSkillList::skillsExist ( )
Returns
bool

Definition at line 29 of file class.ilAssQuestionAssignedSkillList.php.

30  {
31  return (bool)count($this->skills);
32  }

◆ sleep()

ilAssQuestionAssignedSkillList::sleep ( )
Returns
array

Definition at line 79 of file class.ilAssQuestionAssignedSkillList.php.

References array.

80  {
81  return array('skills');
82  }
Create styles array
The data for the language used.

◆ valid()

ilAssQuestionAssignedSkillList::valid ( )
Returns
bool

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

References $res, and key().

63  {
64  $res = key($this->skills);
65  return $res !== null;
66  }
+ Here is the call graph for this function:

◆ wakeup()

ilAssQuestionAssignedSkillList::wakeup ( )

Definition at line 84 of file class.ilAssQuestionAssignedSkillList.php.

85  {
86  // TODO: Implement __wakeup() method.
87  }

Field Documentation

◆ $skills

ilAssQuestionAssignedSkillList::$skills = array()
protected

Definition at line 15 of file class.ilAssQuestionAssignedSkillList.php.


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