48 $this->setting =
$DIC[
"ilSetting"];
49 $this->learing_history =
$DIC->learningHistory();
50 $this->skmg_setting =
new ilSetting(
"skmg");
63 return (
bool) $this->learing_history->isActive();
66 return (
bool) $this->skmg_setting->get(
"enable_skmg");
90 foreach ($this->services as
$s) {
105 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