‪TYPO3CMS  ‪main
TypoScriptFrontendControllerTestUserFuncs.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
21 {
25  public function ‪userIntCallback(): string
26  {
27  ‪$GLOBALS['TSFE']->additionalHeaderData[] = 'headerDataFromUserInt';
28  ‪$GLOBALS['TSFE']->additionalFooterData[] = 'footerDataFromUserInt';
29  return 'userIntContent';
30  }
31 
35  public function ‪slWithoutLLLCallback(): string
36  {
37  return ‪$GLOBALS['TSFE']->sL('notprefixedWithLLL');
38  }
39 
43  public function ‪slWithLLLCallback(): string
44  {
45  return ‪$GLOBALS['TSFE']->sL('LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:mod_tx_cms_webinfo_page');
46  }
47 }
‪TYPO3\CMS\Frontend\Tests\Functional\Controller\Fixtures\TypoScriptFrontendControllerTestUserFuncs\slWithoutLLLCallback
‪slWithoutLLLCallback()
Definition: TypoScriptFrontendControllerTestUserFuncs.php:35
‪TYPO3\CMS\Frontend\Tests\Functional\Controller\Fixtures\TypoScriptFrontendControllerTestUserFuncs\slWithLLLCallback
‪slWithLLLCallback()
Definition: TypoScriptFrontendControllerTestUserFuncs.php:43
‪TYPO3\CMS\Frontend\Tests\Functional\Controller\Fixtures\TypoScriptFrontendControllerTestUserFuncs
Definition: TypoScriptFrontendControllerTestUserFuncs.php:21
‪TYPO3\CMS\Frontend\Tests\Functional\Controller\Fixtures
Definition: TypoScriptFrontendControllerTestUserFuncs.php:18
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:25
‪TYPO3\CMS\Frontend\Tests\Functional\Controller\Fixtures\TypoScriptFrontendControllerTestUserFuncs\userIntCallback
‪userIntCallback()
Definition: TypoScriptFrontendControllerTestUserFuncs.php:25