ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.SkillProfile.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
23 
30 {
31  protected int $id = 0;
32  protected string $title = "";
33  protected string $description = "";
34  protected int $skill_tree_id = 0;
35  protected string $image_id = "";
36  protected int $ref_id = 0;
37 
38  public function __construct(
39  int $id,
40  string $title,
41  string $description,
42  int $skill_tree_id,
43  string $image_id = "",
44  int $ref_id = 0
45  ) {
46  $this->id = $id;
47  $this->title = $title;
48  $this->description = $description;
49  $this->skill_tree_id = $skill_tree_id;
50  $this->image_id = $image_id;
51  $this->ref_id = $ref_id;
52  }
53 
54  public function getId(): int
55  {
56  return $this->id;
57  }
58 
59  public function getTitle(): string
60  {
61  return $this->title;
62  }
63 
64  public function getDescription(): string
65  {
66  return $this->description;
67  }
68 
69  public function getSkillTreeId(): int
70  {
71  return $this->skill_tree_id;
72  }
73 
74  public function getImageId(): string
75  {
76  return $this->image_id;
77  }
78 
79  public function getRefId(): int
80  {
81  return $this->ref_id;
82  }
83 }
__construct(int $id, string $title, string $description, int $skill_tree_id, string $image_id="", int $ref_id=0)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...