/** * General statistics * * @param int $depth * @param string $mode * @return void */ public function statisticAction($depth = 1, $mode = 'overview') { if (is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['indexed_search']['external_parsers'])) { foreach ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['indexed_search']['external_parsers'] as $extension => $_objRef) { /** @var \TYPO3\CMS\IndexedSearch\FileContentParser $fileContentParser */ $fileContentParser = GeneralUtility::getUserObj($_objRef); if ($fileContentParser->softInit($extension)) { $this->external_parsers[$extension] = $fileContentParser; } } } $this->administrationRepository->external_parsers = $this->external_parsers; $allLines = $this->administrationRepository->getTree($this->pageUid, $depth, $mode); $this->view->assignMultiple(['levelTranslations' => explode('|', $this->getLanguageService()->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.enterSearchLevels')), 'tree' => $allLines, 'pageUid' => $this->pageUid, 'mode' => $mode, 'depth' => $depth]); }