-layer in the calling document (which then appears as a layer/context sensitive menu) * Writing content back into a
-layer is necessary if we want individualized context menus with any specific content for any specific element. * Context menus can appear for either database elements or files * The input to this script is basically the "&init" var which is divided by "|" - each part is a reference to table|uid|listframe-flag. * * If you want to integrate a context menu in your scripts, please see template::getContextMenuCode() * * @author Kasper Skårhøj */ require __DIR__ . '/init.php'; $clickMenuController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\ClickMenuController'); /** * Include files for extra click menu options * @deprecated since 6.1, will be removed 2 versions later */ foreach ($SOBE->include_once as $INC_FILE) { include_once $INC_FILE; } $clickMenuController->main(); $clickMenuController->printContent(); ?>