ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ContainerSkill.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 namespace ILIAS\Container\Skills;
23 
26 
31 {
32  protected int $skill_id = 0;
33  protected int $tref_id = 0;
34  protected int $cont_obj_id = 0;
35  protected string $title = "";
36  protected ?SkillProfile $profile = null;
37 
38  public function __construct(
39  int $skill_id,
40  int $tref_id,
41  int $cont_obj_id,
42  string $title = "",
43  SkillProfile $profile = null
44  ) {
45  $this->skill_id = $skill_id;
46  $this->tref_id = $tref_id;
47  $this->cont_obj_id = $cont_obj_id;
48  $this->title = $title;
49  $this->profile = $profile;
50  }
51 
52  public function getBaseSkillId(): int
53  {
54  return $this->skill_id;
55  }
56 
57  public function getTrefId(): int
58  {
59  return $this->tref_id;
60  }
61 
62  public function getContainerObjectId(): int
63  {
64  return $this->cont_obj_id;
65  }
66 
67  public function getTitle(): string
68  {
69  return $this->title;
70  }
71 
72  public function getProfile(): ?SkillProfile
73  {
74  return $this->profile;
75  }
76 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(int $skill_id, int $tref_id, int $cont_obj_id, string $title="", SkillProfile $profile=null)