ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilSkillManagementSettings Class Reference

Skill management settings. More...

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

Public Member Functions

 __construct ()
 Constructor. More...
 
 activate ($a_active)
 Activate skill management. More...
 
 isActivated ()
 Is activated. More...
 
 setHideProfileBeforeSelfEval ($a_val)
 Set hide profile values before self evaluations. More...
 
 getHideProfileBeforeSelfEval ()
 Get hide profile values before self evaluations. More...
 
- Public Member Functions inherited from ilSetting
 __construct ($a_module="common", $a_disabled_cache=false)
 Initialize settings. More...
 
 getModule ()
 Get currernt module. More...
 
 read ()
 Read settings data. More...
 
 get ($a_keyword, $a_default_value=false)
 get setting More...
 
 deleteAll ()
 Delete all settings of a current module. More...
 
 deleteLike ($a_like)
 Delete all settings corresponding to a like string. More...
 
 delete ($a_keyword)
 delete one value from settingstable public More...
 
 getAll ()
 read all values from settingstable public More...
 
 set ($a_key, $a_val)
 write one value to db-table settings public More...
 
 setScormDebug ($a_key, $a_val)
 

Additional Inherited Members

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

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

Constructor & Destructor Documentation

◆ __construct()

ilSkillManagementSettings::__construct ( )

Constructor.

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

18  {
19  parent::__construct("skmg");
20  }

Member Function Documentation

◆ activate()

ilSkillManagementSettings::activate (   $a_active)

Activate skill management.

Parameters

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

29  {
30  $this->set("enable_skmg", (int) $a_active);
31  }

◆ getHideProfileBeforeSelfEval()

ilSkillManagementSettings::getHideProfileBeforeSelfEval ( )

Get hide profile values before self evaluations.

Returns
bool hide profile

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

58  {
59  return $this->get("hide_profile_self_eval");
60  }

◆ isActivated()

ilSkillManagementSettings::isActivated ( )

Is activated.

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

38  {
39  return $this->get("enable_skmg");
40  }

◆ setHideProfileBeforeSelfEval()

ilSkillManagementSettings::setHideProfileBeforeSelfEval (   $a_val)

Set hide profile values before self evaluations.

Parameters
bool$a_valhide profile

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

48  {
49  $this->set("hide_profile_self_eval", (int) $a_val);
50  }

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