ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilSkillManagementSettings.php
Go to the documentation of this file.
1 <?php
2 
28 {
29  public function __construct()
30  {
31  parent::__construct("skmg");
32  }
33 
34  public function activate(bool $a_active): void
35  {
36  $value = $a_active ? "1" : "0";
37  $this->set("enable_skmg", $value);
38  }
39 
40  public function isActivated(): bool
41  {
42  return (bool) $this->get("enable_skmg", "0");
43  }
44 
45  public function setHideProfileBeforeSelfEval(bool $a_val): void
46  {
47  $value = $a_val ? "1" : "0";
48  $this->set("hide_profile_self_eval", $value);
49  }
50 
51  public function getHideProfileBeforeSelfEval(): bool
52  {
53  return (bool) $this->get("hide_profile_self_eval", "0");
54  }
55 
56  public function setLocalAssignmentOfProfiles(bool $a_val): void
57  {
58  $value = $a_val ? "1" : "0";
59  $this->set("local_assignment_profiles", $value);
60  }
61 
62  public function getLocalAssignmentOfProfiles(): bool
63  {
64  return (bool) $this->get("local_assignment_profiles", "0");
65  }
66 
67  public function setAllowLocalProfiles(bool $a_val): void
68  {
69  $value = $a_val ? "1" : "0";
70  $this->set("allow_local_profiles", $value);
71  }
72 
73  public function getAllowLocalProfiles(): bool
74  {
75  return (bool) $this->get("allow_local_profiles", "0");
76  }
77 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)