Tsfe::get()
\nn\t3::Tsfe()->get($pid = NULL);
Get $GLOBALS['TSFE']. If not available (because in BE) initialize.
\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!