ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ContainerSkill.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
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 = "",
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)