42 if (!($object instanceof $objectClassName)) {
43 throw new \LogicException(
44 "Provided object of class '" . get_class($object) .
"' does not " .
50 throw new \RuntimeException(
51 "User is not allowed to access the kiosk mode for the supplied object."
This class 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)
Interface ilAccessHandler.
A kiosk mode view on a certain object.
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.