public function infoScreen() { /** * @var $ilAccess ilAccessHandler */ global $ilAccess; if (!$ilAccess->checkAccess('visible', '', $this->object->getRefId())) { $this->ilias->raiseError($this->lng->txt('msg_no_perm_read'), $this->ilias->error_obj->MESSAGE); } include_once 'Services/InfoScreen/classes/class.ilInfoScreenGUI.php'; $info = new ilInfoScreenGUI($this); $info->enablePrivateNotes(); // standard meta data $info->addMetaDataSections($this->object->getId(), 0, $this->object->getType()); // forward the command $this->ctrl->forwardCommand($info); }