ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.ContainerSkillFactory.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 namespace ILIAS\Container\Skills;
23 
25 
31 {
32  public function skill(
33  int $skill_id,
34  int $tref_id,
35  int $cont_obj_id = 0,
36  string $title = "",
37  SkillProfile $profile = null
38  ): ContainerSkill {
39  return new ContainerSkill(
40  $skill_id,
41  $tref_id,
42  $cont_obj_id,
43  $title,
44  $profile
45  );
46  }
47 
48  public function memberSkill(
49  int $cont_obj_id,
50  int $user_id,
51  int $skill_id,
52  int $tref_id,
53  int $level_id,
54  bool $published
56  return new ContainerMemberSkill(
57  $cont_obj_id,
58  $user_id,
59  $skill_id,
60  $tref_id,
61  $level_id,
62  $published
63  );
64  }
65 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
memberSkill(int $cont_obj_id, int $user_id, int $skill_id, int $tref_id, int $level_id, bool $published)
skill(int $skill_id, int $tref_id, int $cont_obj_id=0, string $title="", SkillProfile $profile=null)