3declare(strict_types=1);
34 if (!($object instanceof $objectClassName)) {
35 throw new LogicException(
36 "Provided object of class '" . get_class($object) .
"' does not " .
42 throw new RuntimeException(
43 "User is not allowed to access the kiosk mode for the supplied object."
Class ilCtrl provides processing control methods.
Base class to be implemented and put in class-directory of module with the name il$MODULEKioskModeVie...
setObject(ilObject $object)
Set the object for this view.
__construct(ilObject $object, ilCtrl $ctrl, ilLanguage $lng, ilAccessHandler $access)
getObjectClass()
Get the class of objects this view displays.
hasPermissionToAccessKioskMode()
Check if the global user has permission to access the kiosk mode of the supplied object.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
A kiosk mode view on a certain object.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...