ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilAssQuestionAssignedSkillList.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
10
class
ilAssQuestionAssignedSkillList
implements
Iterator
11
{
15
protected
$skills
=
array
();
16
21
public
function
addSkill
($skillBaseId, $skillTrefId)
22
{
23
$this->skills[] =
"{$skillBaseId}:{$skillTrefId}"
;
24
}
25
29
public
function
skillsExist
()
30
{
31
return
(
bool
)count($this->skills);
32
}
33
37
public
function
current
()
38
{
39
return
current
($this->skills);
40
}
41
45
public
function
next
()
46
{
47
return
next
($this->skills);
48
}
49
53
public
function
key
()
54
{
55
$res
=
key
($this->skills);
56
return
$res
;
57
}
58
62
public
function
valid
()
63
{
64
$res
=
key
($this->skills);
65
return
$res
!== null;
66
}
67
71
public
function
rewind
()
72
{
73
return
reset($this->skills);
74
}
75
79
public
function
sleep
()
80
{
81
return
array
(
'skills'
);
82
}
83
84
public
function
wakeup
()
85
{
86
// TODO: Implement __wakeup() method.
87
}
88
}
ilAssQuestionAssignedSkillList\valid
valid()
Definition:
class.ilAssQuestionAssignedSkillList.php:62
ilAssQuestionAssignedSkillList\sleep
sleep()
Definition:
class.ilAssQuestionAssignedSkillList.php:79
$res
$res
Definition:
examplelayouts.sql.php:25
ilAssQuestionAssignedSkillList\addSkill
addSkill($skillBaseId, $skillTrefId)
Definition:
class.ilAssQuestionAssignedSkillList.php:21
ilAssQuestionAssignedSkillList\next
next()
Definition:
class.ilAssQuestionAssignedSkillList.php:45
ilAssQuestionAssignedSkillList\$skills
$skills
Definition:
class.ilAssQuestionAssignedSkillList.php:15
ilAssQuestionAssignedSkillList\rewind
rewind()
Definition:
class.ilAssQuestionAssignedSkillList.php:71
ilAssQuestionAssignedSkillList\wakeup
wakeup()
Definition:
class.ilAssQuestionAssignedSkillList.php:84
ilAssQuestionAssignedSkillList\current
current()
Definition:
class.ilAssQuestionAssignedSkillList.php:37
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
Iterator
ilAssQuestionAssignedSkillList\skillsExist
skillsExist()
Definition:
class.ilAssQuestionAssignedSkillList.php:29
ilAssQuestionAssignedSkillList
Definition:
class.ilAssQuestionAssignedSkillList.php:10
php
ilAssQuestionAssignedSkillList\key
key()
Definition:
class.ilAssQuestionAssignedSkillList.php:53
Modules
TestQuestionPool
classes
questions
class.ilAssQuestionAssignedSkillList.php
Generated on Fri Jan 17 2025 19:01:06 for ILIAS by
1.8.13 (using
Doxyfile
)