Last active
July 28, 2022 12:09
-
-
Save knbknb/aee72563f740034f1fd63c31f488f804 to your computer and use it in GitHub Desktop.
PHP Snippets for TYPO3 Extbase Programming
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// $controller->addFlashMessage("You were logged out.", FlashMessage::WARNING); | |
// $objectManager = GeneralUtility::makeInstance('TYPO3\\CMS\Extbase\\Object\\ObjectManager'); | |
// $configurationManager = $objectManager->get('TYPO3\\CMS\\Extbase\\Configuration\\FrontendConfigurationManager'); | |
// $configuration = $configurationManager->getTypoScriptSetup(); | |
// DebugUtility::debug(['view' => $view, 'controller' => $event->getController()]); | |
// DebugUtility::debug(['fe_user' => $GLOBALS['TSFE']->fe_user, 'content' => $GLOBALS['TSFE']->content]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment