/** * Initialize the TypoScript template parser * * @return void */ public function initTemplate() { $this->tmpl = GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\TypoScript\\TemplateService'); $this->tmpl->setVerbose((bool) $this->beUserLogin); $this->tmpl->init(); $this->tmpl->tt_track = (bool) $this->beUserLogin; }
/** * Initialize the TypoScript template parser * * @return void * @todo Define visibility */ public function initTemplate() { $this->tmpl = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\TypoScript\\TemplateService'); $this->tmpl->init(); $this->tmpl->tt_track = $this->beUserLogin ? 1 : 0; }
/** * Initialize the TypoScript template parser * * @return void */ public function initTemplate() { $this->tmpl = GeneralUtility::makeInstance(TemplateService::class); $this->tmpl->setVerbose((bool) $this->beUserLogin); $this->tmpl->init(); $this->tmpl->tt_track = (bool) $this->beUserLogin; }