ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Learning history service. More...
Public Member Functions | |
__construct (ilObjUser $user, ilLanguage $lng, \ILIAS\DI\UIServices $ui, ilAccessHandler $access, ilTree $tree) | |
Constructor. More... | |
repositoryTree () | |
Get tree. More... | |
access () | |
Get access. More... | |
user () | |
Get current user. More... | |
language () | |
Get language object. More... | |
ui () | |
Get ui service. More... | |
factory () | |
Factory for learning history entries. More... | |
provider () | |
Provider. More... | |
isActive (int $user_id=0) | |
Is the service active? The service will be active, if any of its providers are active. More... | |
Protected Attributes | |
$current_user | |
$lng | |
$ui | |
$access | |
$tree | |
Learning history service.
Definition at line 11 of file class.ilLearningHistoryService.php.
ilLearningHistoryService::__construct | ( | ilObjUser | $user, |
ilLanguage | $lng, | ||
\ILIAS\DI\UIServices | $ui, | ||
ilAccessHandler | $access, | ||
ilTree | $tree | ||
) |
Constructor.
ilObjUser | $user | |
ilLanguage | $lng | |
\ILIAS\DI\UIServices | $ui | |
ilAccessHandler | $access |
Definition at line 45 of file class.ilLearningHistoryService.php.
References $access, $lng, $tree, $ui, $user, access(), and ui().
ilLearningHistoryService::access | ( | ) |
Get access.
Definition at line 69 of file class.ilLearningHistoryService.php.
References $access.
Referenced by __construct().
ilLearningHistoryService::factory | ( | ) |
Factory for learning history entries.
Definition at line 109 of file class.ilLearningHistoryService.php.
ilLearningHistoryService::isActive | ( | int | $user_id = 0 | ) |
Is the service active? The service will be active, if any of its providers are active.
int | $user_id |
Definition at line 130 of file class.ilLearningHistoryService.php.
References $DIC, provider(), and user().
ilLearningHistoryService::language | ( | ) |
Get language object.
Definition at line 89 of file class.ilLearningHistoryService.php.
References $lng.
ilLearningHistoryService::provider | ( | ) |
Provider.
Definition at line 119 of file class.ilLearningHistoryService.php.
Referenced by isActive().
ilLearningHistoryService::repositoryTree | ( | ) |
Get tree.
Definition at line 59 of file class.ilLearningHistoryService.php.
References $tree.
ilLearningHistoryService::ui | ( | ) |
Get ui service.
Definition at line 99 of file class.ilLearningHistoryService.php.
References $ui.
Referenced by __construct().
ilLearningHistoryService::user | ( | ) |
Get current user.
Definition at line 79 of file class.ilLearningHistoryService.php.
References $current_user.
Referenced by isActive().
|
protected |
Definition at line 31 of file class.ilLearningHistoryService.php.
Referenced by __construct(), and access().
|
protected |
Definition at line 16 of file class.ilLearningHistoryService.php.
Referenced by user().
|
protected |
Definition at line 21 of file class.ilLearningHistoryService.php.
Referenced by __construct(), and language().
|
protected |
Definition at line 36 of file class.ilLearningHistoryService.php.
Referenced by __construct(), and repositoryTree().
|
protected |
Definition at line 26 of file class.ilLearningHistoryService.php.
Referenced by __construct(), and ui().