‪TYPO3CMS  9.5
InfoModuleController.php
Go to the documentation of this file.
1 <?php
3 
4 /*
5  * This file is part of the TYPO3 CMS project.
6  *
7  * It is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License, either version 2
9  * of the License, or any later version.
10  *
11  * For the full copyright and license information, please read the
12  * LICENSE.txt file that was distributed with this source code.
13  *
14  * The TYPO3 project - inspiring people to share!
15  */
16 
17 use Psr\Http\Message\ResponseInterface;
18 use Psr\Http\Message\ServerRequestInterface;
35 
42 {
45 
50  'perms_clause' => 'Using InfoModuleController::$perms_clause is deprecated and will not be possible anymore in TYPO3 v10.0.',
51  'modTSconfig' => 'Using InfoModuleController::$modTSconfig is deprecated and will not be possible anymore in TYPO3 v10.0.',
52  'modMenu_setDefaultList' => 'Using InfoModuleController::$modMenu_setDefaultList is deprecated and will not be possible anymore in TYPO3 v10.0.',
53  'modMenu_dontValidateList' => 'Using InfoModuleController::$modMenu_dontValidateList is deprecated and will not be possible anymore in TYPO3 v10.0.',
54  'modMenu_type' => 'Using InfoModuleController::$modMenu_type$ is deprecated and will not be possible anymore in TYPO3 v10.0.',
55  'extClassConf' => 'Using InfoModuleController::extClassConf$ is deprecated and will not be possible anymore in TYPO3 v10.0.',
56  'extObj' => 'Using InfoModuleController::$extObj is deprecated and will not be possible anymore in TYPO3 v10.0.',
57  'content' => 'Using InfoModuleController::$content is deprecated and will not be possible anymore in TYPO3 v10.0.',
58  'pObj' => 'Using InfoModuleController::$pObj is deprecated and will not be possible anymore in TYPO3 v10.0.',
59  'id' => 'Using InfoModuleController::id$ is deprecated and will not be possible anymore in TYPO3 v10.0.',
60  'CMD' => 'Using InfoModuleController::$CMD is deprecated, property will be removed in TYPO3 v10.0.',
61  'doc' => 'Using InfoModuleController::$doc is deprecated, property will be removed in TYPO3 v10.0.',
62  'MCONF' => 'Using InfoModuleController::$MCONF is deprecated, property will be removed in TYPO3 v10.0.',
63  ];
64 
68  private ‪$deprecatedPublicMethods = [
69  'main' => 'Using InfoModuleController::main() is deprecated and will not be possible anymore in TYPO3 v10.0.',
70  'init' => 'Using InfoModuleController::init() is deprecated and will not be possible anymore in TYPO3 v10.0.',
71  'getModuleTemplate' => 'Using InfoModuleController::getModuleTemplate() is deprecated and will not be possible anymore in TYPO3 v10.0.',
72  'menuConfig' => 'Using InfoModuleController::menuConfig() is deprecated and will not be possible anymore in TYPO3 v10.0.',
73  'handleExternalFunctionValue' => 'Using InfoModuleController::handleExternalFunctionValue() is deprecated and will not be possible anymore in TYPO3 v10.0.',
74  'mergeExternalItems' => 'Using InfoModuleController::mergeExternalItems() is deprecated and will not be possible anymore in TYPO3 v10.0.',
75  'getExternalItemConfig' => 'Using InfoModuleController::getExternalItemConfig() is deprecated and will not be possible anymore in TYPO3 v10.0.',
76  'extObjContent' => 'Using InfoModuleController::extObjContent() is deprecated and will not be possible anymore in TYPO3 v10.0.',
77  'getExtObjContent' => 'Using InfoModuleController::getExtObjContent() is deprecated and will not be possible anymore in TYPO3 v10.0.',
78  'checkExtObj' => 'Using InfoModuleController::checkExtObj() is deprecated and will not be possible anymore in TYPO3 v10.0.',
79  'extObjHeader' => 'Using InfoModuleController::extObjHeader() is deprecated, method will be removed in TYPO3 v10.0.',
80  'checkSubExtObj' => 'Using InfoModuleController::checkSubExtObj() is deprecated, method will be removed in TYPO3 v10.0.',
81  ];
82 
86  public ‪$pageinfo;
87 
93  protected ‪$moduleName = 'web_info';
94 
100  protected ‪$moduleTemplate;
101 
105  protected ‪$view;
106 
112  protected ‪$MCONF = [];
113 
117  protected ‪$id;
118 
125  protected ‪$CMD;
126 
132  protected ‪$perms_clause;
133 
140  public ‪$MOD_MENU = [
141  'function' => []
142  ];
143 
150  public ‪$MOD_SETTINGS = [];
151 
157  protected ‪$modTSconfig;
158 
165  protected ‪$modMenu_type = '';
166 
173  protected ‪$modMenu_dontValidateList = '';
174 
181  protected ‪$modMenu_setDefaultList = '';
182 
186  protected ‪$extClassConf;
187 
193  protected ‪$content = '';
194 
198  protected ‪$doc;
199 
205  protected ‪$extObj;
206 
210  public function ‪__construct()
211  {
212  $this->moduleTemplate = GeneralUtility::makeInstance(ModuleTemplate::class);
213  $languageService = $this->‪getLanguageService();
214  $languageService->includeLLFile('EXT:info/Resources/Private/Language/locallang_mod_web_info.xlf');
215 
216  // @deprecated and will be removed in TYPO3 v10.0.
217  $this->MCONF = [
218  'name' => ‪$this->moduleName,
219  ];
220  }
221 
225  protected function ‪init()
226  {
227  $this->id = (int)GeneralUtility::_GP('id');
228  // @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0.
229  $this->CMD = GeneralUtility::_GP('CMD');
230  $this->perms_clause = $this->‪getBackendUser()->‪getPagePermsClause(‪Permission::PAGE_SHOW);
231  $this->‪menuConfig();
233  }
234 
238  protected function ‪main()
239  {
240  // since TYPO3 v9, will be removed in TYPO3 v10.0.
241  $this->doc = GeneralUtility::makeInstance(DocumentTemplate::class);
242 
243  $languageService = $this->‪getLanguageService();
244  $backendUser = $this->‪getBackendUser();
245 
246  // The page will show only if there is a valid page and if this page
247  // may be viewed by the user
248  $this->pageinfo = ‪BackendUtility::readPageAccess($this->id, $this->perms_clause);
249  if ($this->pageinfo) {
250  $this->moduleTemplate->getDocHeaderComponent()->setMetaInformation($this->pageinfo);
251  }
252  $access = is_array($this->pageinfo);
253  if ($this->id && $access || $backendUser->isAdmin() && !$this->id) {
254  if ($backendUser->isAdmin() && !$this->id) {
255  $this->pageinfo = ['title' => '[root-level]', 'uid' => 0, 'pid' => 0];
256  }
257  // JavaScript
258  $this->moduleTemplate->addJavaScriptCode(
259  'WebFuncInLineJS',
260  'if (top.fsMod) top.fsMod.recentIds["web"] = ' . (int)$this->id . ';
261  function jumpToUrl(URL) {
262  window.location.href = URL;
263  return false;
264  }
265  '
266  );
267  // Setting up the context sensitive menu:
268  $this->moduleTemplate->getPageRenderer()->loadRequireJsModule('TYPO3/CMS/Backend/ContextMenu');
269 
270  $this->view = $this->‪getFluidTemplateObject();
271  $uriBuilder = GeneralUtility::makeInstance(UriBuilder::class);
272  $this->view->assign('moduleName', (string)$uriBuilder->buildUriFromRoute($this->moduleName));
273  $this->view->assign('functionMenuModuleContent', $this->‪getExtObjContent());
274  // Setting up the buttons and markers for doc header
275  $this->‪getButtons();
276  $this->‪generateMenu();
277  $this->content .= $this->view->render();
278  } else {
279  // If no access or if ID == zero
280  $this->content = $this->moduleTemplate->header($languageService->getLL('title'));
281  }
282  }
283 
291  public function ‪mainAction(ServerRequestInterface $request): ResponseInterface
292  {
293  // @deprecated and will be removed in TYPO3 v10.0.
294  ‪$GLOBALS['SOBE'] = $this;
295 
296  $this->‪init();
297 
298  // Checking for first level external objects
299  $this->‪checkExtObj();
300 
301  // Checking second level external objects
302  // @deprecated and will be removed in TYPO3 v10.0.
303  $this->‪checkSubExtObj();
304  $this->‪main();
305 
306  $this->moduleTemplate->setContent($this->content);
307  return new ‪HtmlResponse($this->moduleTemplate->renderContent());
308  }
309 
313  protected function ‪getButtons()
314  {
315  $languageService = $this->‪getLanguageService();
316  $buttonBar = $this->moduleTemplate->getDocHeaderComponent()->getButtonBar();
317  // View page
318  $viewButton = $buttonBar->makeLinkButton()
319  ->setHref('#')
320  ->setOnClick(‪BackendUtility::viewOnClick(
321  $this->pageinfo['uid'],
322  '',
323  ‪BackendUtility::BEgetRootLine($this->pageinfo['uid'])
324  ))
325  ->setTitle($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.showPage'))
326  ->setIcon($this->moduleTemplate->getIconFactory()->getIcon('actions-view-page', ‪Icon::SIZE_SMALL));
327  $buttonBar->addButton($viewButton, ‪ButtonBar::BUTTON_POSITION_LEFT, 1);
328  // Shortcut
329  $shortCutButton = $buttonBar->makeShortcutButton()
330  ->setModuleName($this->moduleName)
331  ->setDisplayName($this->MOD_MENU['function'][$this->MOD_SETTINGS['function']])
332  ->setGetVariables([
333  'route',
334  'id',
335  'edit_record',
336  'pointer',
337  'new_unique_uid',
338  'search_field',
339  'search_levels',
340  'showLimit'
341  ])
342  ->setSetVariables(array_keys($this->MOD_MENU));
343  $buttonBar->addButton($shortCutButton, ‪ButtonBar::BUTTON_POSITION_RIGHT);
344 
345  // CSH
346  $cshButton = $buttonBar->makeHelpButton()
347  ->setModuleName('xMOD_csh_corebe')
348  ->setFieldName('pagetree_overview');
349  $buttonBar->addButton($cshButton);
350  }
351 
355  protected function ‪generateMenu()
356  {
357  $menu = $this->moduleTemplate->getDocHeaderComponent()->getMenuRegistry()->makeMenu();
358  $menu->setIdentifier('WebInfoJumpMenu');
359  $uriBuilder = GeneralUtility::makeInstance(UriBuilder::class);
360  foreach ($this->MOD_MENU['function'] as $controller => $title) {
361  $item = $menu
362  ->makeMenuItem()
363  ->setHref(
364  (string)$uriBuilder->buildUriFromRoute(
365  $this->moduleName,
366  [
367  'id' => $this->id,
368  'SET' => [
369  'function' => $controller
370  ]
371  ]
372  )
373  )
374  ->setTitle($title);
375  if ($controller === $this->MOD_SETTINGS['function']) {
376  $item->setActive(true);
377  }
378  $menu->addMenuItem($item);
379  }
380  $this->moduleTemplate->getDocHeaderComponent()->getMenuRegistry()->addMenu($menu);
381  }
382 
389  protected function ‪getModuleTemplate()
390  {
392  }
393 
399  protected function ‪getFluidTemplateObject()
400  {
401  ‪$view = GeneralUtility::makeInstance(StandaloneView::class);
402  ‪$view->‪setLayoutRootPaths([GeneralUtility::getFileAbsFileName('EXT:info/Resources/Private/Layouts')]);
403  ‪$view->‪setPartialRootPaths([GeneralUtility::getFileAbsFileName('EXT:info/Resources/Private/Partials')]);
404  ‪$view->‪setTemplateRootPaths([GeneralUtility::getFileAbsFileName('EXT:info/Resources/Private/Templates')]);
405 
406  ‪$view->‪setTemplatePathAndFilename(GeneralUtility::getFileAbsFileName('EXT:info/Resources/Private/Templates/Main.html'));
407 
408  ‪$view->‪getRequest()->setControllerExtensionName('info');
409  return ‪$view;
410  }
411 
417  protected function ‪menuConfig()
418  {
419  // Page / user TSconfig settings and blinding of menu-items
420  $this->modTSconfig['properties'] = ‪BackendUtility::getPagesTSconfig($this->id)['mod.']['web_info.'] ?? [];
421  $this->MOD_MENU['function'] = $this->‪mergeExternalItems('web_info', 'function', $this->MOD_MENU['function']);
422  $blindActions = $this->modTSconfig['properties']['menu.']['function.'] ?? [];
423  foreach ($blindActions as $key => $value) {
424  if (!$value && array_key_exists($key, $this->MOD_MENU['function'])) {
425  unset($this->MOD_MENU['function'][$key]);
426  }
427  }
428  $this->MOD_SETTINGS = ‪BackendUtility::getModuleData($this->MOD_MENU, GeneralUtility::_GP('SET'), 'web_info', $this->modMenu_type, $this->modMenu_dontValidateList, $this->modMenu_setDefaultList);
429  }
430 
440  protected function ‪mergeExternalItems($modName, $menuKey, $menuArr)
441  {
442  $mergeArray = ‪$GLOBALS['TBE_MODULES_EXT'][$modName]['MOD_MENU'][$menuKey];
443  if (is_array($mergeArray)) {
444  $backendUser = $this->‪getBackendUser();
445  foreach ($mergeArray as $k => $v) {
446  if (((string)$v['ws'] === '' || $backendUser->workspace === 0 && GeneralUtility::inList($v['ws'], 'online'))
447  || $backendUser->workspace === -1 && GeneralUtility::inList($v['ws'], 'offline')
448  || $backendUser->workspace > 0 && GeneralUtility::inList($v['ws'], 'custom')
449  ) {
450  $menuArr[$k] = $this->‪getLanguageService()->‪sL($v['title']);
451  }
452  }
453  }
454  return $menuArr;
455  }
456 
463  protected function ‪handleExternalFunctionValue($MM_key = 'function', $MS_value = null)
464  {
465  if ($MS_value === null) {
466  $MS_value = $this->MOD_SETTINGS[$MM_key];
467  }
468  $this->extClassConf = $this->‪getExternalItemConfig('web_info', $MM_key, $MS_value);
469  }
470 
481  protected function ‪getExternalItemConfig($modName, $menuKey, $value = '')
482  {
483  if (isset(‪$GLOBALS['TBE_MODULES_EXT'][$modName])) {
484  return (string)$value !== ''
485  ? ‪$GLOBALS['TBE_MODULES_EXT'][$modName]['MOD_MENU'][$menuKey][$value]
486  : ‪$GLOBALS['TBE_MODULES_EXT'][$modName]['MOD_MENU'][$menuKey];
487  }
488  return null;
489  }
490 
497  protected function ‪checkExtObj()
498  {
499  if (is_array($this->extClassConf) && $this->extClassConf['name']) {
500  $this->extObj = GeneralUtility::makeInstance($this->extClassConf['name']);
501  if (is_callable([$this->extObj, 'init'])) {
502  $this->extObj->init($this);
503  }
504  // Re-write:
505  $this->MOD_SETTINGS = ‪BackendUtility::getModuleData($this->MOD_MENU, GeneralUtility::_GP('SET'), 'web_info', $this->modMenu_type, $this->modMenu_dontValidateList, $this->modMenu_setDefaultList);
506  }
507  }
508 
514  protected function ‪checkSubExtObj()
515  {
516  if (is_object($this->extObj) && is_callable([$this->extObj, 'checkExtObj'])) {
517  $this->extObj->checkExtObj();
518  }
519  }
520 
527  protected function ‪extObjHeader()
528  {
529  if (is_callable([$this->extObj, 'head'])) {
530  $this->extObj->head();
531  }
532  }
533 
537  protected function ‪extObjContent()
538  {
539  if ($this->extObj === null) {
540  $languageService = $this->‪getLanguageService();
541  $flashMessage = GeneralUtility::makeInstance(
542  FlashMessage::class,
543  $languageService->sL('LLL:EXT:backend/Resources/Private/Language/locallang.xlf:no_modules_registered'),
544  $languageService->getLL('title'),
546  );
547  $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
549  $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
550  $defaultFlashMessageQueue->enqueue($flashMessage);
551  } else {
552  if (is_callable([$this->extObj, 'main'])) {
553  $main = $this->extObj->main();
554  if ($main instanceof ResponseInterface) {
555  $stream = $main->getBody();
556  $stream->rewind();
557  $main = $stream->getContents();
558  }
559  $this->content .= $main;
560  }
561  }
562  }
563 
569  protected function ‪getExtObjContent()
570  {
571  $savedContent = ‪$this->content;
572  $this->content = '';
573  $this->‪extObjContent();
574  $newContent = ‪$this->content;
575  $this->content = $savedContent;
576  return $newContent;
577  }
578 
582  protected function ‪getLanguageService(): ‪LanguageService
583  {
584  return ‪$GLOBALS['LANG'];
585  }
586 
590  protected function ‪getBackendUser(): BackendUserAuthentication
591  {
592  return ‪$GLOBALS['BE_USER'];
593  }
594 }
‪TYPO3\CMS\Core\Imaging\Icon\SIZE_SMALL
‪const SIZE_SMALL
Definition: Icon.php:29
‪TYPO3\CMS\Info\Controller\InfoModuleController\getButtons
‪getButtons()
Definition: InfoModuleController.php:292
‪TYPO3\CMS\Info\Controller\InfoModuleController
Definition: InfoModuleController.php:42
‪TYPO3\CMS\Backend\Template\Components\ButtonBar\BUTTON_POSITION_LEFT
‪const BUTTON_POSITION_LEFT
Definition: ButtonBar.php:35
‪TYPO3\CMS\Backend\Template\Components\ButtonBar
Definition: ButtonBar.php:31
‪TYPO3\CMS\Info\Controller\InfoModuleController\$MOD_SETTINGS
‪array $MOD_SETTINGS
Definition: InfoModuleController.php:137
‪TYPO3\CMS\Info\Controller\InfoModuleController\extObjHeader
‪extObjHeader()
Definition: InfoModuleController.php:506
‪TYPO3\CMS\Core\Authentication\BackendUserAuthentication\getPagePermsClause
‪string getPagePermsClause($perms)
Definition: BackendUserAuthentication.php:523
‪TYPO3\CMS\Core\Imaging\Icon
Definition: Icon.php:25
‪TYPO3\CMS\Info\Controller\InfoModuleController\getExtObjContent
‪string getExtObjContent()
Definition: InfoModuleController.php:548
‪TYPO3\CMS\Info\Controller\InfoModuleController\getBackendUser
‪BackendUserAuthentication getBackendUser()
Definition: InfoModuleController.php:569
‪TYPO3\CMS\Info\Controller\InfoModuleController\$CMD
‪mixed $CMD
Definition: InfoModuleController.php:115
‪TYPO3\CMS\Info\Controller\InfoModuleController\$modTSconfig
‪array $modTSconfig
Definition: InfoModuleController.php:143
‪TYPO3\CMS\Info\Controller\InfoModuleController\$id
‪$id
Definition: InfoModuleController.php:108
‪TYPO3\CMS\Info\Controller\InfoModuleController\extObjContent
‪extObjContent()
Definition: InfoModuleController.php:516
‪TYPO3\CMS\Info\Controller\InfoModuleController\getExternalItemConfig
‪mixed getExternalItemConfig($modName, $menuKey, $value='')
Definition: InfoModuleController.php:460
‪TYPO3\CMS\Info\Controller\InfoModuleController\$deprecatedPublicMethods
‪array $deprecatedPublicMethods
Definition: InfoModuleController.php:64
‪TYPO3\CMS\Info\Controller\InfoModuleController\init
‪init()
Definition: InfoModuleController.php:204
‪TYPO3\CMS\Core\Localization\LanguageService\sL
‪string sL($input)
Definition: LanguageService.php:158
‪TYPO3\CMS\Backend\Utility\BackendUtility\BEgetRootLine
‪static array BEgetRootLine($uid, $clause='', $workspaceOL=false, array $additionalFields=[])
Definition: BackendUtility.php:374
‪TYPO3\CMS\Info\Controller\InfoModuleController\mainAction
‪ResponseInterface mainAction(ServerRequestInterface $request)
Definition: InfoModuleController.php:270
‪TYPO3\CMS\Info\Controller\InfoModuleController\main
‪main()
Definition: InfoModuleController.php:217
‪TYPO3\CMS\Info\Controller\InfoModuleController\$MOD_MENU
‪array $MOD_MENU
Definition: InfoModuleController.php:128
‪TYPO3\CMS\Info\Controller\InfoModuleController\$moduleName
‪string $moduleName
Definition: InfoModuleController.php:87
‪TYPO3\CMS\Backend\Template\ModuleTemplate
Definition: ModuleTemplate.php:40
‪TYPO3\CMS\Core\Type\Bitmask\Permission
Definition: Permission.php:23
‪TYPO3\CMS\Info\Controller\InfoModuleController\$extObj
‪object $extObj
Definition: InfoModuleController.php:184
‪TYPO3\CMS\Info\Controller\InfoModuleController\$modMenu_type
‪string $modMenu_type
Definition: InfoModuleController.php:150
‪TYPO3\CMS\Backend\Template\DocumentTemplate
Definition: DocumentTemplate.php:48
‪TYPO3\CMS\Info\Controller\InfoModuleController\getModuleTemplate
‪ModuleTemplate getModuleTemplate()
Definition: InfoModuleController.php:368
‪TYPO3\CMS\Info\Controller\InfoModuleController\getLanguageService
‪LanguageService getLanguageService()
Definition: InfoModuleController.php:561
‪TYPO3\CMS\Backend\Routing\UriBuilder
Definition: UriBuilder.php:35
‪TYPO3\CMS\Info\Controller\InfoModuleController\$moduleTemplate
‪ModuleTemplate $moduleTemplate
Definition: InfoModuleController.php:93
‪TYPO3\CMS\Backend\Utility\BackendUtility\getModuleData
‪static array getModuleData( $MOD_MENU, $CHANGED_SETTINGS, $modName, $type='', $dontValidateList='', $setDefaultList='')
Definition: BackendUtility.php:3259
‪TYPO3\CMS\Fluid\View\AbstractTemplateView\setTemplatePathAndFilename
‪setTemplatePathAndFilename($templatePathAndFilename)
Definition: AbstractTemplateView.php:100
‪TYPO3\CMS\Info\Controller\InfoModuleController\checkSubExtObj
‪checkSubExtObj()
Definition: InfoModuleController.php:493
‪TYPO3\CMS\Core\Authentication\BackendUserAuthentication
Definition: BackendUserAuthentication.php:45
‪TYPO3\CMS\Core\Type\Bitmask\Permission\PAGE_SHOW
‪const PAGE_SHOW
Definition: Permission.php:32
‪TYPO3\CMS\Info\Controller\InfoModuleController\mergeExternalItems
‪array mergeExternalItems($modName, $menuKey, $menuArr)
Definition: InfoModuleController.php:419
‪TYPO3\CMS\Core\Compatibility\PublicMethodDeprecationTrait
Definition: PublicMethodDeprecationTrait.php:68
‪TYPO3\CMS\Backend\Utility\BackendUtility
Definition: BackendUtility.php:72
‪TYPO3\CMS\Info\Controller\InfoModuleController\$deprecatedPublicProperties
‪array $deprecatedPublicProperties
Definition: InfoModuleController.php:46
‪TYPO3\CMS\Info\Controller\InfoModuleController\getFluidTemplateObject
‪StandaloneView getFluidTemplateObject()
Definition: InfoModuleController.php:378
‪TYPO3\CMS\Info\Controller\InfoModuleController\$MCONF
‪array $MCONF
Definition: InfoModuleController.php:103
‪TYPO3\CMS\Info\Controller\InfoModuleController\$pageinfo
‪array $pageinfo
Definition: InfoModuleController.php:81
‪TYPO3\CMS\Info\Controller\InfoModuleController\handleExternalFunctionValue
‪handleExternalFunctionValue($MM_key='function', $MS_value=null)
Definition: InfoModuleController.php:442
‪TYPO3\CMS\Backend\Utility\BackendUtility\viewOnClick
‪static string viewOnClick( $pageUid, $backPath='', $rootLine=null, $anchorSection='', $alternativeUrl='', $additionalGetVars='', $switchFocus=true)
Definition: BackendUtility.php:2616
‪TYPO3\CMS\Info\Controller\InfoModuleController\__construct
‪__construct()
Definition: InfoModuleController.php:189
‪TYPO3\CMS\Core\Messaging\FlashMessage
Definition: FlashMessage.php:22
‪TYPO3\CMS\Fluid\View\StandaloneView
Definition: StandaloneView.php:32
‪TYPO3\CMS\Info\Controller\InfoModuleController\$perms_clause
‪string $perms_clause
Definition: InfoModuleController.php:121
‪TYPO3\CMS\Backend\Utility\BackendUtility\getPagesTSconfig
‪static array getPagesTSconfig($id, $rootLine=null, $returnPartArray=false)
Definition: BackendUtility.php:864
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:5
‪TYPO3\CMS\Fluid\View\AbstractTemplateView\setLayoutRootPaths
‪setLayoutRootPaths(array $layoutRootPaths)
Definition: AbstractTemplateView.php:164
‪TYPO3\CMS\Core\Localization\LanguageService
Definition: LanguageService.php:29
‪TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait
Definition: PublicPropertyDeprecationTrait.php:66
‪TYPO3\CMS\Fluid\View\StandaloneView\getRequest
‪WebRequest getRequest()
Definition: StandaloneView.php:109
‪TYPO3\CMS\Fluid\View\AbstractTemplateView\setPartialRootPaths
‪setPartialRootPaths(array $partialRootPaths)
Definition: AbstractTemplateView.php:131
‪TYPO3\CMS\Info\Controller\InfoModuleController\$content
‪string $content
Definition: InfoModuleController.php:174
‪TYPO3\CMS\Core\Utility\GeneralUtility
Definition: GeneralUtility.php:45
‪TYPO3\CMS\Info\Controller\InfoModuleController\$modMenu_dontValidateList
‪string $modMenu_dontValidateList
Definition: InfoModuleController.php:157
‪TYPO3\CMS\Info\Controller\InfoModuleController\$extClassConf
‪array $extClassConf
Definition: InfoModuleController.php:168
‪TYPO3\CMS\Backend\Template\Components\ButtonBar\BUTTON_POSITION_RIGHT
‪const BUTTON_POSITION_RIGHT
Definition: ButtonBar.php:40
‪TYPO3\CMS\Info\Controller\InfoModuleController\$view
‪StandaloneView $view
Definition: InfoModuleController.php:97
‪TYPO3\CMS\Info\Controller\InfoModuleController\checkExtObj
‪checkExtObj()
Definition: InfoModuleController.php:476
‪TYPO3\CMS\Core\Messaging\FlashMessageService
Definition: FlashMessageService.php:25
‪TYPO3\CMS\Info\Controller\InfoModuleController\menuConfig
‪menuConfig()
Definition: InfoModuleController.php:396
‪TYPO3\CMS\Info\Controller
Definition: InfoModuleController.php:2
‪TYPO3\CMS\Core\Messaging\AbstractMessage\ERROR
‪const ERROR
Definition: AbstractMessage.php:29
‪TYPO3\CMS\Info\Controller\InfoModuleController\$modMenu_setDefaultList
‪string $modMenu_setDefaultList
Definition: InfoModuleController.php:164
‪TYPO3\CMS\Core\Http\HtmlResponse
Definition: HtmlResponse.php:25
‪TYPO3\CMS\Backend\Utility\BackendUtility\readPageAccess
‪static array bool readPageAccess($id, $perms_clause)
Definition: BackendUtility.php:635
‪TYPO3\CMS\Info\Controller\InfoModuleController\generateMenu
‪generateMenu()
Definition: InfoModuleController.php:334
‪TYPO3\CMS\Fluid\View\AbstractTemplateView\setTemplateRootPaths
‪setTemplateRootPaths(array $templateRootPaths)
Definition: AbstractTemplateView.php:111
‪TYPO3\CMS\Info\Controller\InfoModuleController\$doc
‪DocumentTemplate $doc
Definition: InfoModuleController.php:178