ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilSkillExportConfig.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
21
27class ilSkillExportConfig extends ExportConfig
28{
29 public const MODE_SKILLS = "";
30 public const MODE_PROFILES = "prof";
31
35 protected array $selected_nodes = [];
36
40 protected array $selected_profiles = [];
41 protected string $mode = "";
42 protected int $skill_tree_id = 0;
43
44 public function setMode(string $a_val): void
45 {
46 $this->mode = $a_val;
47 }
48
49 public function getMode(): string
50 {
51 return $this->mode;
52 }
53
57 public function setSelectedNodes(array $a_val): void
58 {
59 $this->selected_nodes = $a_val;
60 }
61
65 public function getSelectedNodes(): array
66 {
68 }
69
73 public function setSelectedProfiles(array $a_val): void
74 {
75 $this->selected_profiles = $a_val;
76 }
77
81 public function getSelectedProfiles(): array
82 {
84 }
85
86 public function setSkillTreeId(int $skill_tree_id): void
87 {
88 $this->skill_tree_id = $skill_tree_id;
89 }
90
91 public function getSkillTreeId(): int
92 {
94 }
95}
Export configuration for skills.
setSkillTreeId(int $skill_tree_id)