ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.SkillProfileRoleAssignment.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Skill\Profile;
22
27{
28 protected string $type = "role";
29 protected string $name = "";
30 protected int $id = 0;
31 protected string $obj_title = "";
32 protected string $obj_type = "";
33 protected int $obj_id = 0;
34
35 public function __construct(
36 string $name,
37 int $id,
38 string $obj_title,
39 string $obj_type,
40 int $obj_id
41 ) {
42 $this->name = $name;
43 $this->id = $id;
44 $this->obj_title = $obj_title;
45 $this->obj_type = $obj_type;
46 $this->obj_id = $obj_id;
47 }
48
49 public function getType(): string
50 {
51 return $this->type;
52 }
53
54 public function getName(): string
55 {
56 return $this->name;
57 }
58
59 public function getId(): int
60 {
61 return $this->id;
62 }
63
64 public function getObjTitle(): string
65 {
66 return $this->obj_title;
67 }
68
69 public function getObjType(): string
70 {
71 return $this->obj_type;
72 }
73
74 public function getObjId(): int
75 {
76 return $this->obj_id;
77 }
78}
__construct(string $name, int $id, string $obj_title, string $obj_type, int $obj_id)