コード例 #1
0
 /**
  * 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;
 }
コード例 #2
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;
 }