• Seite weiterempfehlen
  • Kontakt
  • Druckansicht

Plugin Settings in eID

PHP
	// 2 is the id of the rootpage
$GLOBALS['TSFE'] = t3lib_div::makeInstance(
	'tslib_fe', $GLOBALS['TYPO3_CONF_VARS'], 2, 0
);
 
	// Connect to database:
$GLOBALS['TSFE']->connectToDB();
 
	// Initialize FE user object:
$GLOBALS['TSFE']->initFEuser();
 
$GLOBALS['TSFE']->determineId();
 
	// init ->tmpl for use e.g. ->tmpl->setup['plugin.']
$GLOBALS['TSFE']->initTemplate();
	// fills ->config with infos
$GLOBALS['TSFE']->getConfigArray();
 
$this->conf = 
	$GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_myext.'];