19declare(strict_types=1);
48 if (!($object instanceof $objectClassName)) {
49 throw new LogicException(
50 "Provided object of class '" . get_class($object) .
"' does not " .
56 throw new RuntimeException(
57 "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.
Class ilObject Basic functions for all objects.
A kiosk mode view on a certain object.
Interface ilAccessHandler This interface combines all available interfaces which can be called via gl...