ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.SkillProfile.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
29{
30 protected int $id = 0;
31 protected string $title = "";
32 protected string $description = "";
33 protected int $skill_tree_id = 0;
34 protected string $image_id = "";
35 protected int $ref_id = 0;
36
37 public function __construct(
38 int $id,
39 string $title,
40 string $description,
42 string $image_id = "",
43 int $ref_id = 0
44 ) {
45 $this->id = $id;
46 $this->title = $title;
47 $this->description = $description;
48 $this->skill_tree_id = $skill_tree_id;
49 $this->image_id = $image_id;
50 $this->ref_id = $ref_id;
51 }
52
53 public function getId(): int
54 {
55 return $this->id;
56 }
57
58 public function getTitle(): string
59 {
60 return $this->title;
61 }
62
63 public function getDescription(): string
64 {
65 return $this->description;
66 }
67
68 public function getSkillTreeId(): int
69 {
71 }
72
73 public function getImageId(): string
74 {
75 return $this->image_id;
76 }
77
78 public function getRefId(): int
79 {
80 return $this->ref_id;
81 }
82}
__construct(int $id, string $title, string $description, int $skill_tree_id, string $image_id="", int $ref_id=0)