19declare(strict_types=1);
48 if ($this->kiosk_mode_service->hasKioskMode($item->
getType())) {
49 return $this->kiosk_mode_service->getViewFor($obj);
Add learning progress and availability information to the LSItem.
Class ilAccessHandler Checks access for ILIAS objects.
Central entry point for users of the service.
getInstanceByRefId(int $ref_id)
ilKioskModeService $kiosk_mode_service
getLegacyViewFor(ilObject $obj)
LOMServices $lom_services
getViewFor(LSLearnerItem $item)
__construct(ilKioskModeService $kiosk_mode_service, ilLanguage $lng, ilAccess $access, LOMServices $lom_services)
static getInstanceByRefId(int $ref_id, bool $stop_on_error=true)
get an instance of an Ilias object by reference id
Class ilObject Basic functions for all objects.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.