3 declare(strict_types=1);
34 $object_type = $object->
getType();
41 return new $class_name(
57 return class_exists($class_name);
65 $class = $this->obj_definition->getClassName($object_type);
66 return "il" . $class .
"KioskModeView";
Base class to be implemented and put in class-directory of module with the name il$MODULEKioskModeVie...
parses the objects.xml it handles the xml-description of all ilias objects
ilObjectDefinition $obj_definition
getClassNameForType(string $object_type)
hasKioskMode(string $object_type)
Check if objects of a certain type provides kiosk mode in general.
Central entry point for users of the service.
getViewFor(ilObject $object)
Try to get a kiosk mode view for the given object.
__construct(ilCtrl $ctrl, ilLanguage $language, ilAccess $access, ilObjectDefinition $obj_definition)