52 $this->setting =
$DIC[
"ilSetting"];
53 $this->learing_history =
$DIC->learningHistory();
54 $this->skmg_setting =
new ilSetting(
"skmg");
68 return (
bool) $this->learing_history->isActive();
71 return (
bool) $this->skmg_setting->get(
"enable_skmg");
82 return $this->validator->validate();
95 foreach ($this->services as $s) {
110 return array_filter($this->services,
function ($s) {
An exception for terminatinating execution or to throw for unit testing.
Maybe a separate service in the future.
const SERV_LEARNING_PROGRESS
getActiveServices()
Get active services.
const SERV_LEARNING_HISTORY
isActive($service)
Is subservice active?
isAnyActive()
Is any subservice active?
__construct()
Constructor.
static getInstance()
Constructor.
static _hasLearningProgressOtherUsers()
static _hasLearningProgressLearner()
static _enabledLearningProgress()
check wether learing progress is enabled or not