Tsfe::get()
\nn\t3::Tsfe()->get($pid = NULL);
$GLOBALS['TSFE'] holen. Falls nicht vorhanden (weil im BE) initialisieren.
\nn\t3::Tsfe()->get()
\nn\t3::Tsfe()->get()
Copied!
| @return \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController
Source Code
public function get( $pid = null )
{
if (!isset($GLOBALS['TSFE'])) $this->init( $pid );
return $GLOBALS['TSFE'] ?? '';
}
Copied!