ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.ilAssQuestionAssignedSkillList.php
Go to the documentation of this file.
1
<?php
2
25
class
ilAssQuestionAssignedSkillList
implements
Iterator
26
{
27
protected
array
$skills
= [];
28
29
public
function
addSkill
(
int
$skill_base_id,
int
$skill_ref_id): void
30
{
31
$this->skills[] =
"{$skill_base_id}:{$skill_ref_id}"
;
32
}
33
34
public
function
skillsExist
(): bool
35
{
36
return
(
bool
) count($this->skills);
37
}
38
39
public
function
current
(): ?string
40
{
41
$current =
current
($this->skills);
42
return
$current !==
false
? $current :
null
;
43
}
44
45
public
function
next
(): void
46
{
47
next
($this->skills);
48
}
49
50
public
function
key
(): ?
int
51
{
52
return
key
($this->skills);
53
}
54
55
public
function
valid
(): bool
56
{
57
$res
=
key
($this->skills);
58
return
$res
!==
null
;
59
}
60
61
public
function
rewind
(): void
62
{
63
reset($this->skills);
64
}
65
66
public
function
sleep
(): array
67
{
68
return
[
'skills'
];
69
}
70
71
public
function
wakeup
(): void
72
{
73
// TODO: Implement __wakeup() method.
74
}
75
}
ilAssQuestionAssignedSkillList\valid
valid()
Definition:
class.ilAssQuestionAssignedSkillList.php:55
$res
$res
Definition:
ltiservices.php:66
ilAssQuestionAssignedSkillList\sleep
sleep()
Definition:
class.ilAssQuestionAssignedSkillList.php:66
ilAssQuestionAssignedSkillList\next
next()
Definition:
class.ilAssQuestionAssignedSkillList.php:45
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ilAssQuestionAssignedSkillList\rewind
rewind()
Definition:
class.ilAssQuestionAssignedSkillList.php:61
ilAssQuestionAssignedSkillList\wakeup
wakeup()
Definition:
class.ilAssQuestionAssignedSkillList.php:71
ilAssQuestionAssignedSkillList\$skills
array $skills
Definition:
class.ilAssQuestionAssignedSkillList.php:27
ilAssQuestionAssignedSkillList\current
current()
Definition:
class.ilAssQuestionAssignedSkillList.php:39
ilAssQuestionAssignedSkillList\skillsExist
skillsExist()
Definition:
class.ilAssQuestionAssignedSkillList.php:34
ilAssQuestionAssignedSkillList
Definition:
class.ilAssQuestionAssignedSkillList.php:25
ilAssQuestionAssignedSkillList\key
key()
Definition:
class.ilAssQuestionAssignedSkillList.php:50
ilAssQuestionAssignedSkillList\addSkill
addSkill(int $skill_base_id, int $skill_ref_id)
Definition:
class.ilAssQuestionAssignedSkillList.php:29
Iterator
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
components
ILIAS
TestQuestionPool
classes
questions
class.ilAssQuestionAssignedSkillList.php
Generated on Sun Aug 31 2025 23:04:04 for ILIAS by
1.8.13 (using
Doxyfile
)