ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilSkillManagementSettings.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2012 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
13 {
17  public function __construct()
18  {
19  parent::__construct("skmg");
20  }
21 
28  public function activate($a_active)
29  {
30  $this->set("enable_skmg", (int) $a_active);
31  }
32 
33 
37  public function isActivated()
38  {
39  return $this->get("enable_skmg");
40  }
41 
47  public function setHideProfileBeforeSelfEval($a_val)
48  {
49  $this->set("hide_profile_self_eval", (int) $a_val);
50  }
51 
57  public function getHideProfileBeforeSelfEval()
58  {
59  return $this->get("hide_profile_self_eval");
60  }
61 
67  public function setLocalAssignmentOfProfiles(bool $a_val)
68  {
69  $this->set("local_assignment_profiles", (int) $a_val);
70  }
71 
77  public function getLocalAssignmentOfProfiles() : bool
78  {
79  return $this->get("local_assignment_profiles");
80  }
81 
87  public function setAllowLocalProfiles(bool $a_val)
88  {
89  $this->set("allow_local_profiles", (int) $a_val);
90  }
91 
97  public function getAllowLocalProfiles() : bool
98  {
99  return $this->get("allow_local_profiles");
100  }
101 }
getLocalAssignmentOfProfiles()
Get value if local assignment of global profiles is allowed.
getHideProfileBeforeSelfEval()
Get hide profile values before self evaluations.
setLocalAssignmentOfProfiles(bool $a_val)
Set value if local assignment of global profiles is allowed.
getAllowLocalProfiles()
Get value if creation of local profiles is allowed.
setAllowLocalProfiles(bool $a_val)
Set value if creation of local profiles is allowed.
setHideProfileBeforeSelfEval($a_val)
Set hide profile values before self evaluations.
__construct(Container $dic, ilPlugin $plugin)
activate($a_active)
Activate skill management.