ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ContainerMemberSkill.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
27{
28 protected int $cont_obj_id = 0;
29 protected int $user_id = 0;
30 protected int $skill_id = 0;
31 protected int $tref_id = 0;
32 protected int $level_id = 0;
33 protected bool $published = false;
34
35 public function __construct(
36 int $cont_obj_id,
37 int $user_id,
38 int $skill_id,
39 int $tref_id,
40 int $level_id,
41 bool $published
42 ) {
43 $this->cont_obj_id = $cont_obj_id;
44 $this->user_id = $user_id;
45 $this->skill_id = $skill_id;
46 $this->tref_id = $tref_id;
47 $this->level_id = $level_id;
48 $this->published = $published;
49 }
50
51 public function getContainerObjectId(): int
52 {
53 return $this->cont_obj_id;
54 }
55
56 public function getUserId(): int
57 {
58 return $this->user_id;
59 }
60
61 public function getBaseSkillId(): int
62 {
63 return $this->skill_id;
64 }
65
66 public function getTrefId(): int
67 {
68 return $this->tref_id;
69 }
70
71 public function getLevelId(): int
72 {
73 return $this->level_id;
74 }
75
76 public function getPublished(): bool
77 {
78 return $this->published;
79 }
80}
__construct(int $cont_obj_id, int $user_id, int $skill_id, int $tref_id, int $level_id, bool $published)