ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilSkillManagementSettings Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilSkillManagementSettings:
+ Collaboration diagram for ilSkillManagementSettings:

Public Member Functions

 __construct ()
 
 activate (bool $a_active)
 
 isActivated ()
 
 setHideProfileBeforeSelfEval (bool $a_val)
 
 getHideProfileBeforeSelfEval ()
 
 setLocalAssignmentOfProfiles (bool $a_val)
 
 getLocalAssignmentOfProfiles ()
 
 setAllowLocalProfiles (bool $a_val)
 
 getAllowLocalProfiles ()
 
- Public Member Functions inherited from ilSetting
 __construct (string $a_module="common", bool $a_disabled_cache=false)
 
 getModule ()
 
 read ()
 
 get (string $a_keyword, ?string $a_default_value=null)
 get setting More...
 
 deleteAll ()
 
 deleteLike (string $a_like)
 
 delete (string $a_keyword)
 
 getAll ()
 
 set (string $a_key, string $a_val)
 
 setScormDebug (string $a_key, string $a_val)
 

Additional Inherited Members

- Static Public Member Functions inherited from ilSetting
static _lookupValue (string $a_module, string $a_keyword)
 
static _getValueType ()
 Get the type of the value column in the database. More...
 
static _changeValueType (string $a_new_type='text')
 change the type of the value column in the database More...
 
static _getLongerSettings (int $a_limit=4000)
 get a list of setting records with values loger than a limit More...
 
- Data Fields inherited from ilSetting
array $setting = array()
 
string $module = ""
 
- Protected Attributes inherited from ilSetting
ilDBInterface $db
 
bool $cache_disabled = false
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Skill management settings

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

Definition at line 27 of file class.ilSkillManagementSettings.php.

Constructor & Destructor Documentation

◆ __construct()

ilSkillManagementSettings::__construct ( )

Definition at line 29 of file class.ilSkillManagementSettings.php.

References ILIAS\GlobalScreen\Provider\__construct().

30  {
31  parent::__construct("skmg");
32  }
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ activate()

ilSkillManagementSettings::activate ( bool  $a_active)

Definition at line 34 of file class.ilSkillManagementSettings.php.

34  : void
35  {
36  $value = $a_active ? "1" : "0";
37  $this->set("enable_skmg", $value);
38  }

◆ getAllowLocalProfiles()

ilSkillManagementSettings::getAllowLocalProfiles ( )

Definition at line 73 of file class.ilSkillManagementSettings.php.

73  : bool
74  {
75  return (bool) $this->get("allow_local_profiles", "0");
76  }

◆ getHideProfileBeforeSelfEval()

ilSkillManagementSettings::getHideProfileBeforeSelfEval ( )

Definition at line 51 of file class.ilSkillManagementSettings.php.

51  : bool
52  {
53  return (bool) $this->get("hide_profile_self_eval", "0");
54  }

◆ getLocalAssignmentOfProfiles()

ilSkillManagementSettings::getLocalAssignmentOfProfiles ( )

Definition at line 62 of file class.ilSkillManagementSettings.php.

62  : bool
63  {
64  return (bool) $this->get("local_assignment_profiles", "0");
65  }

◆ isActivated()

ilSkillManagementSettings::isActivated ( )

Definition at line 40 of file class.ilSkillManagementSettings.php.

40  : bool
41  {
42  return (bool) $this->get("enable_skmg", "0");
43  }

◆ setAllowLocalProfiles()

ilSkillManagementSettings::setAllowLocalProfiles ( bool  $a_val)

Definition at line 67 of file class.ilSkillManagementSettings.php.

67  : void
68  {
69  $value = $a_val ? "1" : "0";
70  $this->set("allow_local_profiles", $value);
71  }

◆ setHideProfileBeforeSelfEval()

ilSkillManagementSettings::setHideProfileBeforeSelfEval ( bool  $a_val)

Definition at line 45 of file class.ilSkillManagementSettings.php.

45  : void
46  {
47  $value = $a_val ? "1" : "0";
48  $this->set("hide_profile_self_eval", $value);
49  }

◆ setLocalAssignmentOfProfiles()

ilSkillManagementSettings::setLocalAssignmentOfProfiles ( bool  $a_val)

Definition at line 56 of file class.ilSkillManagementSettings.php.

56  : void
57  {
58  $value = $a_val ? "1" : "0";
59  $this->set("local_assignment_profiles", $value);
60  }

The documentation for this class was generated from the following file: