ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilSkillManagementSettings Class Reference

Skill management settings. 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

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 28 of file class.ilSkillManagementSettings.php.

Constructor & Destructor Documentation

◆ __construct()

ilSkillManagementSettings::__construct ( )

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

References ILIAS\GlobalScreen\Provider\__construct().

31  {
32  parent::__construct("skmg");
33  }
__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 35 of file class.ilSkillManagementSettings.php.

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

◆ getAllowLocalProfiles()

ilSkillManagementSettings::getAllowLocalProfiles ( )

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

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

◆ getHideProfileBeforeSelfEval()

ilSkillManagementSettings::getHideProfileBeforeSelfEval ( )

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

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

◆ getLocalAssignmentOfProfiles()

ilSkillManagementSettings::getLocalAssignmentOfProfiles ( )

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

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

◆ isActivated()

ilSkillManagementSettings::isActivated ( )

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

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

◆ setAllowLocalProfiles()

ilSkillManagementSettings::setAllowLocalProfiles ( bool  $a_val)

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

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

◆ setHideProfileBeforeSelfEval()

ilSkillManagementSettings::setHideProfileBeforeSelfEval ( bool  $a_val)

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

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

◆ setLocalAssignmentOfProfiles()

ilSkillManagementSettings::setLocalAssignmentOfProfiles ( bool  $a_val)

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

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

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