ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.SkillProfileRoleAssignment.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 namespace ILIAS\Skill\Profile;
23 
28 {
29  protected string $type = "role";
30  protected string $name = "";
31  protected int $id = 0;
32  protected string $obj_title = "";
33  protected string $obj_type = "";
34  protected int $obj_id = 0;
35 
36  public function __construct(
37  string $name,
38  int $id,
39  string $obj_title,
40  string $obj_type,
41  int $obj_id
42  ) {
43  $this->name = $name;
44  $this->id = $id;
45  $this->obj_title = $obj_title;
46  $this->obj_type = $obj_type;
47  $this->obj_id = $obj_id;
48  }
49 
50  public function getType(): string
51  {
52  return $this->type;
53  }
54 
55  public function getName(): string
56  {
57  return $this->name;
58  }
59 
60  public function getId(): int
61  {
62  return $this->id;
63  }
64 
65  public function getObjTitle(): string
66  {
67  return $this->obj_title;
68  }
69 
70  public function getObjType(): string
71  {
72  return $this->obj_type;
73  }
74 
75  public function getObjId(): int
76  {
77  return $this->obj_id;
78  }
79 }
__construct(string $name, int $id, string $obj_title, string $obj_type, int $obj_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...