ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Maybe a separate service in the future. More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
isActive ($service) | |
Is subservice active? More... | |
isAnyActive () | |
Is any subservice active? More... | |
getActiveServices () | |
Get active services. More... | |
Data Fields | |
const | SERV_LEARNING_HISTORY = 1 |
const | SERV_COMPETENCES = 2 |
const | SERV_LEARNING_PROGRESS = 3 |
const | SERV_BADGES = 4 |
const | SERV_CERTIFICATES = 5 |
Protected Attributes | |
$learing_history | |
$services | |
$setting | |
Maybe a separate service in the future.
Needs a generic approach.
Currently only the main menu (and personal desktop) should use this.
Definition at line 13 of file class.ilAchievements.php.
ilAchievements::__construct | ( | ) |
ilAchievements::getActiveServices | ( | ) |
Get active services.
Definition at line 103 of file class.ilAchievements.php.
References $s, and isActive().
ilAchievements::isActive | ( | $service | ) |
Is subservice active?
int | service |
Definition at line 59 of file class.ilAchievements.php.
References ilObjUserTracking\_enabledLearningProgress(), ilObjUserTracking\_hasLearningProgressLearner(), ilObjUserTracking\_hasLearningProgressOtherUsers(), ilBadgeHandler\getInstance(), and ilCertificate\isActive().
Referenced by getActiveServices(), and isAnyActive().
ilAchievements::isAnyActive | ( | ) |
Is any subservice active?
Definition at line 88 of file class.ilAchievements.php.
References $s, and isActive().
|
protected |
Definition at line 18 of file class.ilAchievements.php.
|
protected |
Definition at line 28 of file class.ilAchievements.php.
|
protected |
Definition at line 39 of file class.ilAchievements.php.
const ilAchievements::SERV_BADGES = 4 |
Definition at line 24 of file class.ilAchievements.php.
Referenced by ilAchievementsGUI\executeCommand(), ilAchievementsGUI\getGUIClasses(), and ilAchievementsGUI\getLinks().
const ilAchievements::SERV_CERTIFICATES = 5 |
Definition at line 25 of file class.ilAchievements.php.
Referenced by ilAchievementsGUI\executeCommand(), ilAchievementsGUI\getGUIClasses(), and ilAchievementsGUI\getLinks().
const ilAchievements::SERV_COMPETENCES = 2 |
Definition at line 22 of file class.ilAchievements.php.
Referenced by ilAchievementsGUI\executeCommand(), ilAchievementsGUI\getGUIClasses(), and ilAchievementsGUI\getLinks().
const ilAchievements::SERV_LEARNING_HISTORY = 1 |
Definition at line 21 of file class.ilAchievements.php.
Referenced by ilAchievementsGUI\executeCommand(), ilAchievementsGUI\getGUIClasses(), and ilAchievementsGUI\getLinks().
const ilAchievements::SERV_LEARNING_PROGRESS = 3 |
Definition at line 23 of file class.ilAchievements.php.
Referenced by ilAchievementsGUI\executeCommand(), ilAchievementsGUI\getGUIClasses(), and ilAchievementsGUI\getLinks().