29 self::SERV_LEARNING_HISTORY,
30 self::SERV_COMPETENCES,
31 self::SERV_LEARNING_PROGRESS,
33 self::SERV_CERTIFICATES
48 $this->setting = $DIC[
"ilSetting"];
49 $this->learing_history = $DIC->learningHistory();
50 $this->skmg_setting =
new ilSetting(
"skmg");
62 case self::SERV_LEARNING_HISTORY:
63 return (
bool) $this->learing_history->isActive();
65 case self::SERV_COMPETENCES:
66 return (
bool) $this->skmg_setting->get(
"enable_skmg");
68 case self::SERV_LEARNING_PROGRESS:
73 case self::SERV_BADGES:
76 case self::SERV_CERTIFICATES:
90 foreach ($this->services as
$s) {
105 return array_filter($this->services,
function (
$s) {
static _hasLearningProgressLearner()
static _hasLearningProgressOtherUsers()
__construct()
Constructor.
getActiveServices()
Get active services.
isActive($service)
Is subservice active?
static _enabledLearningProgress()
check wether learing progress is enabled or not
Maybe a separate service in the future.
const SERV_LEARNING_HISTORY
const SERV_LEARNING_PROGRESS
isAnyActive()
Is any subservice active?
static getInstance()
Constructor.