‪TYPO3CMS  9.5
TypoScriptTemplateObjectBrowserModuleFunctionController.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 
31 
37 {
40 
45  'pObj' => 'Using TypoScriptTemplateObjectBrowserModuleFunctionController::$pObj is deprecated and will not be possible anymore in TYPO3 v10.0.',
46  'function_key' => 'Using TypoScriptTemplateObjectBrowserModuleFunctionController::$function_key is deprecated, property will be removed in TYPO3 v10.0.',
47  'extClassConf' => 'Using TypoScriptTemplateObjectBrowserModuleFunctionController::$extClassConf is deprecated, property will be removed in TYPO3 v10.0.',
48  'localLangFile' => 'Using TypoScriptTemplateObjectBrowserModuleFunctionController::$localLangFile is deprecated, property will be removed in TYPO3 v10.0.',
49  ];
50 
54  private ‪$deprecatedPublicMethods = [
55  'initialize_editor' => 'Using TypoScriptTemplateObjectBrowserModuleFunctionController::initialize_editor() is deprecated and will not be possible anymore in TYPO3 v10.0.',
56  'modMenu' => 'Using TypoScriptTemplateObjectBrowserModuleFunctionController::modMenu() is deprecated and will not be possible anymore in TYPO3 v10.0.',
57  'handleExternalFunctionValue' => 'Using TypoScriptTemplateObjectBrowserModuleFunctionController::handleExternalFunctionValue() is deprecated, method will be removed in TYPO3 v10.0.',
58  ];
59 
63  protected ‪$localLanguageFilePath;
64 
68  protected ‪$pObj;
69 
74  protected ‪$templateRow;
75 
79  protected ‪$templateService;
80 
84  protected ‪$id;
85 
94  protected ‪$localLangFile = '';
95 
103  protected ‪$extClassConf;
104 
113  protected ‪$function_key = '';
114 
120  public function ‪init(‪$pObj)
121  {
122  $this->pObj = ‪$pObj;
123  // Local lang:
124  if (!empty($this->localLangFile)) {
125  // @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0.
126  $this->‪getLanguageService()->‪includeLLFile($this->localLangFile);
127  }
128  // Setting MOD_MENU items as we need them for logging:
129  $this->pObj->MOD_MENU = array_merge($this->pObj->MOD_MENU, $this->modMenu());
130  $this->pObj->modMenu_dontValidateList .= ',ts_browser_toplevel_setup,ts_browser_toplevel_const,ts_browser_TLKeys_setup,ts_browser_TLKeys_const';
131  $this->pObj->modMenu_setDefaultList .= ',ts_browser_fixedLgd,ts_browser_showComments';
132  $this->localLanguageFilePath = 'EXT:tstemplate/Resources/Private/Language/locallang_objbrowser.xlf';
133  $this->id = (int)GeneralUtility::_GP('id');
134  }
135 
141  protected function ‪modMenu()
142  {
143  $lang = $this->‪getLanguageService();
144  $lang->includeLLFile('EXT:tstemplate/Resources/Private/Language/locallang_objbrowser.xlf');
145  $modMenu = [
146  'ts_browser_type' => [
147  'const' => $lang->getLL('constants'),
148  'setup' => $lang->getLL('setup')
149  ],
150  'ts_browser_toplevel_setup' => [
151  '0' => mb_strtolower($lang->getLL('all'), 'utf-8')
152  ],
153  'ts_browser_toplevel_const' => [
154  '0' => mb_strtolower($lang->getLL('all'), 'utf-8')
155  ],
156  'ts_browser_const' => [
157  '0' => $lang->getLL('plainSubstitution'),
158  'subst' => $lang->getLL('substitutedGreen'),
159  'const' => $lang->getLL('unsubstitutedGreen')
160  ],
161  'ts_browser_regexsearch' => '1',
162  'ts_browser_fixedLgd' => '1',
163  'ts_browser_showComments' => '1',
164  'ts_browser_alphaSort' => '1'
165  ];
166  foreach (['setup', 'const'] as $bType) {
167  $addKey = GeneralUtility::_GET('addKey');
168  // If any plus-signs were clicked, it's registered.
169  if (is_array($addKey)) {
170  reset($addKey);
171  if (current($addKey)) {
172  $this->pObj->MOD_SETTINGS['ts_browser_TLKeys_' . $bType][key($addKey)] = key($addKey);
173  } else {
174  unset($this->pObj->MOD_SETTINGS['ts_browser_TLKeys_' . $bType][key($addKey)]);
175  }
176  $this->‪getBackendUserAuthentication()->‪pushModuleData('web_ts', $this->pObj->MOD_SETTINGS);
177  }
178  if (!empty($this->pObj->MOD_SETTINGS['ts_browser_TLKeys_' . $bType])) {
179  $modMenu['ts_browser_toplevel_' . $bType]['-'] = '---';
180  $modMenu['ts_browser_toplevel_' . $bType] = $modMenu['ts_browser_toplevel_' . $bType] + $this->pObj->MOD_SETTINGS['ts_browser_TLKeys_' . $bType];
181  }
182  }
183  return $modMenu;
184  }
185 
195  protected function ‪initialize_editor($pageId, $template_uid = 0)
196  {
197  // Defined global here!
198  $this->templateService = GeneralUtility::makeInstance(ExtendedTemplateService::class);
199 
200  // Gets the rootLine
201  $rootlineUtility = GeneralUtility::makeInstance(RootlineUtility::class, $pageId);
202  $rootLine = $rootlineUtility->get();
203  // This generates the constants/config + hierarchy info for the template.
204  $this->templateService->runThroughTemplates($rootLine, $template_uid);
205 
206  // Get the row of the first VISIBLE template of the page. whereclause like the frontend.
207  $this->templateRow = $this->templateService->ext_getFirstTemplate($pageId, $template_uid);
208  return is_array($this->templateRow);
209  }
210 
216  public function ‪main()
217  {
218  $lang = $this->‪getLanguageService();
219  $POST = GeneralUtility::_POST();
220 
221  // Checking for more than one template an if, set a menu...
222  $manyTemplatesMenu = $this->pObj->templateMenu();
223  $template_uid = 0;
224  if ($manyTemplatesMenu) {
225  $template_uid = $this->pObj->MOD_SETTINGS['templatesOnPage'];
226  }
227  $bType = $this->pObj->MOD_SETTINGS['ts_browser_type'];
228  $existTemplate = $this->‪initialize_editor($this->id, $template_uid);
229  // initialize
230  $assigns = [];
231  $assigns['LLPrefix'] = 'LLL:' . $this->localLanguageFilePath . ':';
232  $assigns['existTemplate'] = $existTemplate;
233  $assigns['tsBrowserType'] = $this->pObj->MOD_SETTINGS['ts_browser_type'];
234  if ($existTemplate) {
235  $assigns['templateRecord'] = ‪$this->templateRow;
236  $assigns['linkWrapTemplateTitle'] = $this->pObj->linkWrapTemplateTitle($this->templateRow['title'], ($bType === 'setup' ? 'config' : 'constants'));
237  $assigns['manyTemplatesMenu'] = $manyTemplatesMenu;
238 
239  if ($POST['add_property'] || $POST['update_value'] || $POST['clear_object']) {
240  // add property
241  $line = '';
242  if (is_array($POST['data'])) {
243  $name = key($POST['data']);
244  if ($POST['data'][$name]['name'] !== '') {
245  // Workaround for this special case: User adds a key and submits by pressing the return key. The form however will use "add_property" which is the name of the first submit button in this form.
246  unset($POST['update_value']);
247  $POST['add_property'] = 'Add';
248  }
249  if ($POST['add_property']) {
250  $property = trim($POST['data'][$name]['name']);
251  if (preg_replace('/[^a-zA-Z0-9_\\.]*/', '', $property) != $property) {
252  $badPropertyMessage = GeneralUtility::makeInstance(FlashMessage::class, $lang->getLL('noSpaces') . $lang->getLL('nothingUpdated'), $lang->getLL('badProperty'), ‪FlashMessage::ERROR);
253  $this->‪addFlashMessage($badPropertyMessage);
254  } else {
255  $pline = $name . '.' . $property . ' = ' . trim($POST['data'][$name]['propertyValue']);
256  $propertyAddedMessage = GeneralUtility::makeInstance(FlashMessage::class, $pline, $lang->getLL('propertyAdded'));
257  $this->‪addFlashMessage($propertyAddedMessage);
258  $line .= LF . $pline;
259  }
260  } elseif ($POST['update_value']) {
261  $pline = $name . ' = ' . trim($POST['data'][$name]['value']);
262  $updatedMessage = GeneralUtility::makeInstance(FlashMessage::class, $pline, $lang->getLL('valueUpdated'));
263  $this->‪addFlashMessage($updatedMessage);
264  $line .= LF . $pline;
265  } elseif ($POST['clear_object']) {
266  if ($POST['data'][$name]['clearValue']) {
267  $pline = $name . ' >';
268  $objectClearedMessage = GeneralUtility::makeInstance(FlashMessage::class, $pline, $lang->getLL('objectCleared'));
269  $this->‪addFlashMessage($objectClearedMessage);
270  $line .= LF . $pline;
271  }
272  }
273  }
274  if ($line) {
275  $saveId = $this->templateRow['_ORIG_uid'] ?: $this->templateRow['uid'];
276  // Set the data to be saved
277  $recData = [];
278  $field = $bType === 'setup' ? 'config' : 'constants';
279  $recData['sys_template'][$saveId][$field] = $this->templateRow[$field] . $line;
280  // Create new tce-object
281  $tce = GeneralUtility::makeInstance(DataHandler::class);
282  // Initialize
283  $tce->start($recData, []);
284  // Saved the stuff
285  $tce->process_datamap();
286  // Clear the cache (note: currently only admin-users can clear the cache in tce_main.php)
287  $tce->clear_cacheCmd('all');
288  // re-read the template ...
289  $this->‪initialize_editor($this->id, $template_uid);
290  }
291  }
292  }
293  $tsbr = GeneralUtility::_GET('tsbr');
294  $update = 0;
295  if (is_array($tsbr)) {
296  // If any plus-signs were clicked, it's registred.
297  $this->pObj->MOD_SETTINGS['tsbrowser_depthKeys_' . $bType] = $this->templateService->ext_depthKeys($tsbr, $this->pObj->MOD_SETTINGS['tsbrowser_depthKeys_' . $bType]);
298  $update = 1;
299  }
300  if ($POST['Submit']) {
301  // If any POST-vars are send, update the condition array
302  $this->pObj->MOD_SETTINGS['tsbrowser_conditions'] = $POST['conditions'];
303  $update = 1;
304  }
305  if ($update) {
306  $this->‪getBackendUserAuthentication()->‪pushModuleData('web_ts', $this->pObj->MOD_SETTINGS);
307  }
308  $this->templateService->matchAlternative = $this->pObj->MOD_SETTINGS['tsbrowser_conditions'];
309  $this->templateService->matchAlternative[] = 'dummydummydummydummydummydummydummydummydummydummydummy';
310  // This is just here to make sure that at least one element is in the array so that the tsparser actually uses this array to match.
311  $this->templateService->constantMode = $this->pObj->MOD_SETTINGS['ts_browser_const'];
312  // "sObj" is set by ExtendedTemplateService to edit single keys
313  $sObj = GeneralUtility::_GP('sObj');
314  if (!empty($sObj) && $this->templateService->constantMode) {
315  $this->templateService->constantMode = 'untouched';
316  }
317  $this->templateService->regexMode = $this->pObj->MOD_SETTINGS['ts_browser_regexsearch'];
318  $this->templateService->fixedLgd = $this->pObj->MOD_SETTINGS['ts_browser_fixedLgd'];
319  $this->templateService->linkObjects = true;
320  $this->templateService->ext_regLinenumbers = true;
321  $this->templateService->ext_regComments = $this->pObj->MOD_SETTINGS['ts_browser_showComments'];
322  $this->templateService->bType = $bType;
323  if ($this->pObj->MOD_SETTINGS['ts_browser_type'] === 'const') {
324  $this->templateService->ext_constants_BRP = (int)GeneralUtility::_GP('breakPointLN');
325  } else {
326  $this->templateService->ext_config_BRP = (int)GeneralUtility::_GP('breakPointLN');
327  }
328  $this->templateService->generateConfig();
329  if ($bType === 'setup') {
330  $theSetup = $this->templateService->setup;
331  } else {
332  $theSetup = $this->templateService->setup_constants;
333  }
334  // EDIT A VALUE:
335  $assigns['typoScriptPath'] = $sObj;
336  if (!empty($sObj)) {
337  list($theSetup, $theSetupValue) = $this->templateService->ext_getSetup($theSetup, $sObj);
338  $assigns['theSetupValue'] = $theSetupValue;
339  if ($existTemplate === false) {
340  $noTemplateMessage = GeneralUtility::makeInstance(FlashMessage::class, $lang->getLL('noCurrentTemplate'), $lang->getLL('edit'), ‪FlashMessage::ERROR);
341  $this->‪addFlashMessage($noTemplateMessage);
342  }
343  // Links:
344  $urlParameters = [
345  'id' => ‪$this->id
346  ];
348  $uriBuilder = GeneralUtility::makeInstance(\‪TYPO3\CMS\Backend\Routing\UriBuilder::class);
349  $aHref = (string)$uriBuilder->buildUriFromRoute('web_ts', $urlParameters);
350  $assigns['moduleUrl'] = (string)$uriBuilder->buildUriFromRoute('web_ts', $urlParameters);
351  $assigns['isNotInTopLevelKeyList'] = !isset($this->pObj->MOD_SETTINGS['ts_browser_TLKeys_' . $bType][$sObj]);
352  $assigns['hasProperties'] = !empty($theSetup);
353  if (!$this->pObj->MOD_SETTINGS['ts_browser_TLKeys_' . $bType][$sObj]) {
354  if (!empty($theSetup)) {
355  $assigns['moduleUrlObjectListAction'] = $aHref . '&addKey[' . rawurlencode($sObj) . ']=1&SET[ts_browser_toplevel_' . $bType . ']=' . rawurlencode($sObj);
356  }
357  } else {
358  $assigns['moduleUrlObjectListAction'] = $aHref . '&addKey[' . rawurlencode($sObj) . ']=0&SET[ts_browser_toplevel_' . $bType . ']=0';
359  }
360  } else {
361  $this->templateService->tsbrowser_depthKeys = $this->pObj->MOD_SETTINGS['tsbrowser_depthKeys_' . $bType];
362  if (GeneralUtility::_POST('search') && GeneralUtility::_POST('search_field')) {
363  // If any POST-vars are send, update the condition array
364  $searchString = GeneralUtility::_POST('search_field');
365  try {
366  $this->templateService->tsbrowser_depthKeys =
367  $this->templateService->ext_getSearchKeys(
368  $theSetup,
369  '',
370  $searchString,
371  []
372  );
373  } catch (Exception $e) {
374  $this->‪addFlashMessage(
375  GeneralUtility::makeInstance(FlashMessage::class, sprintf($lang->getLL('error.' . $e->getCode()), $searchString), '', ‪FlashMessage::ERROR)
376  );
377  }
378  }
379  $assigns['hasTsBrowserTypes'] = is_array($this->pObj->MOD_MENU['ts_browser_type']) && count($this->pObj->MOD_MENU['ts_browser_type']) > 1;
380  if (is_array($this->pObj->MOD_MENU['ts_browser_type']) && count($this->pObj->MOD_MENU['ts_browser_type']) > 1) {
381  $assigns['browserTypeDropdownMenu'] = ‪BackendUtility::getDropdownMenu($this->id, 'SET[ts_browser_type]', $bType, $this->pObj->MOD_MENU['ts_browser_type']);
382  }
383  $assigns['hasTopLevelInObjectList'] = is_array($this->pObj->MOD_MENU['ts_browser_toplevel_' . $bType]) && count($this->pObj->MOD_MENU['ts_browser_toplevel_' . $bType]) > 1;
384  if (is_array($this->pObj->MOD_MENU['ts_browser_toplevel_' . $bType]) && count($this->pObj->MOD_MENU['ts_browser_toplevel_' . $bType]) > 1) {
385  $assigns['objectListDropdownMenu'] = ‪BackendUtility::getDropdownMenu($this->id, 'SET[ts_browser_toplevel_' . $bType . ']', $this->pObj->MOD_SETTINGS['ts_browser_toplevel_' . $bType], $this->pObj->MOD_MENU['ts_browser_toplevel_' . $bType]);
386  }
387 
388  $assigns['regexSearchCheckbox'] = ‪BackendUtility::getFuncCheck($this->id, 'SET[ts_browser_regexsearch]', $this->pObj->MOD_SETTINGS['ts_browser_regexsearch'], '', '', 'id="checkTs_browser_regexsearch"');
389  $assigns['postSearchField'] = $POST['search_field'];
390  $theKey = $this->pObj->MOD_SETTINGS['ts_browser_toplevel_' . $bType];
391  if (!$theKey || !str_replace('-', '', $theKey)) {
392  $theKey = '';
393  }
394  list($theSetup, $theSetupValue) = $this->templateService->ext_getSetup($theSetup, $this->pObj->MOD_SETTINGS['ts_browser_toplevel_' . $bType] ? $this->pObj->MOD_SETTINGS['ts_browser_toplevel_' . $bType] : '');
395  $tree = $this->templateService->ext_getObjTree($theSetup, $theKey, '', '', $theSetupValue, $this->pObj->MOD_SETTINGS['ts_browser_alphaSort']);
396  $tree = $this->templateService->substituteCMarkers($tree);
397  $urlParameters = [
398  'id' => ‪$this->id
399  ];
401  $uriBuilder = GeneralUtility::makeInstance(\‪TYPO3\CMS\Backend\Routing\UriBuilder::class);
402  $aHref = (string)$uriBuilder->buildUriFromRoute('web_ts', $urlParameters);
403  // Parser Errors:
404  $pEkey = $bType === 'setup' ? 'config' : 'constants';
405  $assigns['hasParseErrors'] = !empty($this->templateService->parserErrors[$pEkey]);
406  if (!empty($this->templateService->parserErrors[$pEkey])) {
407  $assigns['showErrorDetailsUri'] = $aHref . '&SET[function]=TYPO3\\CMS\\Tstemplate\\Controller\\TemplateAnalyzerModuleFunctionController&template=all&SET[ts_analyzer_checkLinenum]=1#line-';
408  $assigns['parseErrors'] = $this->templateService->parserErrors[$pEkey];
409  }
410 
411  if (isset($this->pObj->MOD_SETTINGS['ts_browser_TLKeys_' . $bType][$theKey])) {
412  $assigns['moduleUrlRemoveFromObjectList'] = $aHref . '&addKey[' . $theKey . ']=0&SET[ts_browser_toplevel_' . $bType . ']=0';
413  }
414 
415  $assigns['hasKeySelected'] = $theKey !== '';
416 
417  if ($theKey) {
418  $assigns['treeLabel'] = $theKey;
419  } else {
420  $assigns['rootLLKey'] = $bType === 'setup' ? 'setupRoot' : 'constantRoot';
421  }
422  $assigns['tsTree'] = $tree;
423 
424  // second row options
425  $assigns['isSetupAndCropLinesDisabled'] = $bType === 'setup' && !$this->pObj->MOD_SETTINGS['ts_browser_fixedLgd'];
426  $assigns['checkBoxShowComments'] = ‪BackendUtility::getFuncCheck($this->id, 'SET[ts_browser_showComments]', $this->pObj->MOD_SETTINGS['ts_browser_showComments'], '', '', 'id="checkTs_browser_showComments"');
427  $assigns['checkBoxAlphaSort'] = ‪BackendUtility::getFuncCheck($this->id, 'SET[ts_browser_alphaSort]', $this->pObj->MOD_SETTINGS['ts_browser_alphaSort'], '', '', 'id="checkTs_browser_alphaSort"');
428  $assigns['checkBoxCropLines'] = ‪BackendUtility::getFuncCheck($this->id, 'SET[ts_browser_fixedLgd]', $this->pObj->MOD_SETTINGS['ts_browser_fixedLgd'], '', '', 'id="checkTs_browser_fixedLgd"');
429  if ($bType === 'setup' && !$this->pObj->MOD_SETTINGS['ts_browser_fixedLgd']) {
430  $assigns['dropdownDisplayConstants'] = ‪BackendUtility::getDropdownMenu($this->id, 'SET[ts_browser_const]', $this->pObj->MOD_SETTINGS['ts_browser_const'], $this->pObj->MOD_MENU['ts_browser_const']);
431  }
432 
433  // Conditions:
434  $assigns['hasConditions'] = is_array($this->templateService->sections) && !empty($this->templateService->sections);
435  if (is_array($this->templateService->sections) && !empty($this->templateService->sections)) {
436  $tsConditions = [];
437  foreach ($this->templateService->sections as $key => $val) {
438  $tsConditions[] = [
439  'key' => $key,
440  'value' => $val,
441  'label' => $this->templateService->substituteCMarkers(htmlspecialchars($val)),
442  'isSet' => $this->pObj->MOD_SETTINGS['tsbrowser_conditions'][$key] ? true : false
443  ];
444  }
445  $assigns['tsConditions'] = $tsConditions;
446  }
447  // Ending section displayoptions
448  }
449  $this->‪getPageRenderer()->‪loadRequireJsModule('TYPO3/CMS/Backend/Tooltip');
450  $view = GeneralUtility::makeInstance(StandaloneView::class);
451  $view->setTemplatePathAndFilename(GeneralUtility::getFileAbsFileName(
452  'EXT:tstemplate/Resources/Private/Templates/TemplateObjectBrowserModuleFunction.html'
453  ));
454  $view->assignMultiple($assigns);
455 
456  return $view->render();
457  }
458 
464  protected function ‪addFlashMessage(‪FlashMessage $flashMessage)
465  {
467  $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
469  $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
470  $defaultFlashMessageQueue->enqueue($flashMessage);
471  }
472 
479  protected function ‪handleExternalFunctionValue()
480  {
481  // Must clean first to make sure the correct key is set...
482  $this->pObj->MOD_SETTINGS = ‪BackendUtility::getModuleData($this->pObj->MOD_MENU, GeneralUtility::_GP('SET'), 'web_ts');
483  if ($this->function_key) {
484  $this->extClassConf = $this->pObj->getExternalItemConfig('web_ts', $this->function_key, $this->pObj->MOD_SETTINGS[$this->function_key]);
485  }
486  }
487 
491  protected function ‪getLanguageService(): ‪LanguageService
492  {
493  return ‪$GLOBALS['LANG'];
494  }
495 
499  protected function ‪getBackendUserAuthentication(): BackendUserAuthentication
500  {
501  return ‪$GLOBALS['BE_USER'];
502  }
503 
507  protected function ‪getPageRenderer(): PageRenderer
508  {
509  return GeneralUtility::makeInstance(PageRenderer::class);
510  }
511 }
‪TYPO3\CMS\Core\DataHandling\DataHandler
Definition: DataHandler.php:81
‪TYPO3\CMS\Core\Localization\LanguageService\includeLLFile
‪mixed includeLLFile($fileRef, $setGlobal=true, $mergeLocalOntoDefault=false)
Definition: LanguageService.php:260
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\init
‪init($pObj)
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:109
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\modMenu
‪array modMenu()
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:130
‪TYPO3\CMS\Core\Exception
Definition: Exception.php:21
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\getLanguageService
‪LanguageService getLanguageService()
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:480
‪TYPO3
‪TYPO3\CMS\Core\Exception
‪TYPO3\CMS\Core\Utility\RootlineUtility
Definition: RootlineUtility.php:36
‪TYPO3\CMS\Tstemplate\Controller
Definition: TemplateAnalyzerModuleFunctionController.php:2
‪TYPO3\CMS\Core\TypoScript\ExtendedTemplateService
Definition: ExtendedTemplateService.php:39
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\handleExternalFunctionValue
‪handleExternalFunctionValue()
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:468
‪TYPO3\CMS\Core\Page\PageRenderer\loadRequireJsModule
‪loadRequireJsModule($mainModuleName, $callBackFunction=null)
Definition: PageRenderer.php:1593
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\$templateRow
‪array $templateRow
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:67
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\$extClassConf
‪array $extClassConf
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:93
‪TYPO3\CMS\Core\Page\PageRenderer
Definition: PageRenderer.php:35
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\$function_key
‪string $function_key
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:102
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\addFlashMessage
‪addFlashMessage(FlashMessage $flashMessage)
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:453
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\main
‪string main()
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:205
‪TYPO3\CMS\Backend\Utility\BackendUtility\getDropdownMenu
‪static string getDropdownMenu( $mainParams, $elementName, $currentValue, $menuItems, $script='', $addParams='')
Definition: BackendUtility.php:3005
‪TYPO3\CMS\Core\Authentication\AbstractUserAuthentication\pushModuleData
‪pushModuleData($module, $data, $noSave=0)
Definition: AbstractUserAuthentication.php:1213
‪TYPO3\CMS\Backend\Utility\BackendUtility\getModuleData
‪static array getModuleData( $MOD_MENU, $CHANGED_SETTINGS, $modName, $type='', $dontValidateList='', $setDefaultList='')
Definition: BackendUtility.php:3259
‪TYPO3\CMS\Backend\Utility\BackendUtility\getFuncCheck
‪static string getFuncCheck( $mainParams, $elementName, $currentValue, $script='', $addParams='', $tagParams='')
Definition: BackendUtility.php:3054
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController
Definition: TypoScriptTemplateModuleController.php:50
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\getBackendUserAuthentication
‪BackendUserAuthentication getBackendUserAuthentication()
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:488
‪TYPO3\CMS\Core\Authentication\BackendUserAuthentication
Definition: BackendUserAuthentication.php:45
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\$templateService
‪ExtendedTemplateService $templateService
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:71
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\initialize_editor
‪bool initialize_editor($pageId, $template_uid=0)
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:184
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\$deprecatedPublicMethods
‪array $deprecatedPublicMethods
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:50
‪TYPO3\CMS\Core\Compatibility\PublicMethodDeprecationTrait
Definition: PublicMethodDeprecationTrait.php:68
‪TYPO3\CMS\Backend\Utility\BackendUtility
Definition: BackendUtility.php:72
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\$deprecatedPublicProperties
‪array $deprecatedPublicProperties
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:41
‪TYPO3\CMS\Core\Messaging\FlashMessage
Definition: FlashMessage.php:22
‪TYPO3\CMS\Fluid\View\StandaloneView
Definition: StandaloneView.php:32
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:5
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\$id
‪$id
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:76
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\getPageRenderer
‪PageRenderer getPageRenderer()
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:496
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:37
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\$localLanguageFilePath
‪string $localLanguageFilePath
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:58
‪TYPO3\CMS\Core\Localization\LanguageService
Definition: LanguageService.php:29
‪TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait
Definition: PublicPropertyDeprecationTrait.php:66
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\$pObj
‪TypoScriptTemplateModuleController $pObj
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:62
‪TYPO3\CMS\Core\Utility\GeneralUtility
Definition: GeneralUtility.php:45
‪TYPO3\CMS\Core\Messaging\FlashMessageService
Definition: FlashMessageService.php:25
‪TYPO3\CMS\Core\Messaging\AbstractMessage\ERROR
‪const ERROR
Definition: AbstractMessage.php:29
‪TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\$localLangFile
‪string $localLangFile
Definition: TypoScriptTemplateObjectBrowserModuleFunctionController.php:85