ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ContainerSkill.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Container\Skills;
22 
25 
30 {
31  protected int $skill_id = 0;
32  protected int $tref_id = 0;
33  protected int $cont_obj_id = 0;
34  protected string $title = "";
35  protected ?SkillProfile $profile = null;
36 
37  public function __construct(
38  int $skill_id,
39  int $tref_id,
40  int $cont_obj_id,
41  string $title = "",
42  ?SkillProfile $profile = null
43  ) {
44  $this->skill_id = $skill_id;
45  $this->tref_id = $tref_id;
46  $this->cont_obj_id = $cont_obj_id;
47  $this->title = $title;
48  $this->profile = $profile;
49  }
50 
51  public function getBaseSkillId(): int
52  {
53  return $this->skill_id;
54  }
55 
56  public function getTrefId(): int
57  {
58  return $this->tref_id;
59  }
60 
61  public function getContainerObjectId(): int
62  {
63  return $this->cont_obj_id;
64  }
65 
66  public function getTitle(): string
67  {
68  return $this->title;
69  }
70 
71  public function getProfile(): ?SkillProfile
72  {
73  return $this->profile;
74  }
75 }
__construct(int $skill_id, int $tref_id, int $cont_obj_id, string $title="", ?SkillProfile $profile=null)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null