ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.ContainerSkillFactory.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Container\Skills
;
22
23
use
ILIAS\Skill\Profile\SkillProfile
;
24
29
class
ContainerSkillFactory
30
{
31
public
function
skill
(
32
int
$skill_id,
33
int
$tref_id,
34
int
$cont_obj_id = 0,
35
string
$title =
""
,
36
?
SkillProfile
$profile =
null
37
):
ContainerSkill
{
38
return
new
ContainerSkill
(
39
$skill_id,
40
$tref_id,
41
$cont_obj_id,
42
$title,
43
$profile
44
);
45
}
46
47
public
function
memberSkill
(
48
int
$cont_obj_id,
49
int
$user_id
,
50
int
$skill_id,
51
int
$tref_id,
52
int
$level_id,
53
bool
$published
54
):
ContainerMemberSkill
{
55
return
new
ContainerMemberSkill
(
56
$cont_obj_id,
57
$user_id
,
58
$skill_id,
59
$tref_id,
60
$level_id,
61
$published
62
);
63
}
64
}
ILIAS\Container\Skills\ContainerMemberSkill
Definition:
class.ContainerMemberSkill.php:27
ILIAS\Container\Skills\ContainerSkillFactory
Definition:
class.ContainerSkillFactory.php:30
ILIAS\Container\Skills\ContainerSkillFactory\skill
skill(int $skill_id, int $tref_id, int $cont_obj_id=0, string $title="", ?SkillProfile $profile=null)
Definition:
class.ContainerSkillFactory.php:31
ILIAS\Container\Skills\ContainerSkillFactory\memberSkill
memberSkill(int $cont_obj_id, int $user_id, int $skill_id, int $tref_id, int $level_id, bool $published)
Definition:
class.ContainerSkillFactory.php:47
ILIAS\Container\Skills\ContainerSkill
Definition:
class.ContainerSkill.php:30
ILIAS\Skill\Profile\SkillProfile
Skill profile.
Definition:
class.SkillProfile.php:29
return
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
delivery_method.php:21
ILIAS\Container\Skills
Definition:
class.ContainerMemberSkill.php:21
$user_id
int $user_id
Definition:
trait.ilExAssignmentTypeGUIBase.php:38
components
ILIAS
Container
Skills
classes
class.ContainerSkillFactory.php
Generated on Sat Oct 18 2025 23:02:49 for ILIAS by
1.9.4 (using
Doxyfile
)