ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Learning history provider: Badges. More...
Public Member Functions | |||||||
__construct ( $user_id, ilLearningHistoryFactory $factory, ilLanguage $lng, ilTemplate $template=null, ilObjUser $current_user=null, \ILIAS\DI\UIServices $ui=null) | |||||||
Constructor. More... | |||||||
isActive () | |||||||
Is active?
| |||||||
getEntries ($ts_start, $ts_end) | |||||||
Get entries.
| |||||||
getName () | |||||||
Get name of provider (in user language)
| |||||||
Public Member Functions inherited from ilAbstractLearningHistoryProvider | |||||||
__construct ( $user_id, ilLearningHistoryFactory $factory, ilLanguage $lng, ilTemplate $template=null) | |||||||
Constructor. More... | |||||||
Protected Attributes | |
$current_user | |
$ui | |
Protected Attributes inherited from ilAbstractLearningHistoryProvider | |
$user_id | |
$factory | |
$lng | |
Additional Inherited Members | |
Protected Member Functions inherited from ilAbstractLearningHistoryProvider | |
getUserId () | |
Get user id. More... | |
getFactory () | |
Get factory. More... | |
getLanguage () | |
Get language object. More... | |
getEmphasizedTitle ($title) | |
Get emphasized title. More... | |
Learning history provider: Badges.
Definition at line 11 of file class.ilBadgeLearningHistoryProvider.php.
ilBadgeLearningHistoryProvider::__construct | ( | $user_id, | |
ilLearningHistoryFactory | $factory, | ||
ilLanguage | $lng, | ||
ilTemplate | $template = null , |
||
ilObjUser | $current_user = null , |
||
\ILIAS\DI\UIServices | $ui = null |
||
) |
Constructor.
int | $user_id | |
ilLearningHistoryFactory | $factory | |
ilLanguage | $lng | |
ilTemplate | null | $template |
Definition at line 30 of file class.ilBadgeLearningHistoryProvider.php.
References $current_user, $DIC, ilAbstractLearningHistoryProvider\$template, $ui, and ilAbstractLearningHistoryProvider\$user_id.
ilBadgeLearningHistoryProvider::getEntries | ( | $ts_start, | |
$ts_end | |||
) |
Get entries.
int | $ts_start | |
int | $ts_end |
Implements ilLearningHistoryProviderInterface.
Definition at line 68 of file class.ilBadgeLearningHistoryProvider.php.
References $c, ilAbstractLearningHistoryProvider\$lng, $title, $url, ilLink\_getLink(), ilBadgeAssignment\getBadgesForUser(), ilAbstractLearningHistoryProvider\getEmphasizedTitle(), ilAbstractLearningHistoryProvider\getFactory(), ilUtil\getImagePath(), ilAbstractLearningHistoryProvider\getLanguage(), and ilAbstractLearningHistoryProvider\getUserId().
ilBadgeLearningHistoryProvider::getName | ( | ) |
Get name of provider (in user language)
Implements ilLearningHistoryProviderInterface.
Definition at line 99 of file class.ilBadgeLearningHistoryProvider.php.
References ilAbstractLearningHistoryProvider\$lng, and ilAbstractLearningHistoryProvider\getLanguage().
ilBadgeLearningHistoryProvider::isActive | ( | ) |
Is active?
Implements ilLearningHistoryProviderInterface.
Definition at line 56 of file class.ilBadgeLearningHistoryProvider.php.
References ilBadgeHandler\getInstance().
|
protected |
Definition at line 16 of file class.ilBadgeLearningHistoryProvider.php.
Referenced by __construct().
|
protected |
Definition at line 21 of file class.ilBadgeLearningHistoryProvider.php.
Referenced by __construct().