‪TYPO3CMS  ‪main
TYPO3\CMS\IndexedSearch\Controller\AdministrationController Class Reference
Inheritance diagram for TYPO3\CMS\IndexedSearch\Controller\AdministrationController:
TYPO3\CMS\Extbase\Mvc\Controller\ActionController TYPO3\CMS\Extbase\Mvc\Controller\ControllerInterface

Public Member Functions

 __construct (protected readonly ModuleTemplateFactory $moduleTemplateFactory, protected readonly AdministrationRepository $administrationRepository, protected readonly Indexer $indexer, protected readonly IconFactory $iconFactory, protected readonly ExtensionConfiguration $extensionConfiguration, protected readonly ConnectionPool $connectionPool,)
 
 processRequest (RequestInterface $request)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\Mvc\Controller\ActionController
 injectResponseFactory (ResponseFactoryInterface $responseFactory)
 
 injectStreamFactory (StreamFactoryInterface $streamFactory)
 
 injectConfigurationManager (ConfigurationManagerInterface $configurationManager)
 
 injectValidatorResolver (ValidatorResolver $validatorResolver)
 
 injectViewResolver (ViewResolverInterface $viewResolver)
 
 injectReflectionService (ReflectionService $reflectionService)
 
 injectHashService (HashService $hashService)
 
 injectMvcPropertyMappingConfigurationService (MvcPropertyMappingConfigurationService $mvcPropertyMappingConfigurationService)
 
 injectEventDispatcher (EventDispatcherInterface $eventDispatcher)
 
 injectPropertyMapper (PropertyMapper $propertyMapper)
 
 injectInternalFlashMessageService (FlashMessageService $flashMessageService)
 
 injectInternalExtensionService (ExtensionService $extensionService)
 
 initializeControllerArgumentsBaseValidators ()
 
 addFlashMessage (string $messageBody, string $messageTitle='', ContextualFeedbackSeverity $severity=ContextualFeedbackSeverity::OK, bool $storeInSession=true)
 
 throwStatus (int $statusCode, string $statusMessage='', ?string $content=null)
 

Protected Member Functions

 initializeModuleTemplate (ServerRequestInterface $request)
 
 initializeAction ()
 
 indexAction ()
 
 pagesAction ()
 
 externalDocumentsAction ()
 
 statisticDetailsAction (string $pageHash)
 
 saveStopwordsAction (string $pageHash, array $stopwords=[])
 
 wordDetailAction (string $wordHash, string $pageHash, string $wordTitle)
 
 statisticAction (int $depth=1, string $mode='overview')
 
 deleteIndexedItemAction (string $itemId, int $depth=1, string $mode='overview')
 
 getBackendUserAuthentication ()
 
 getLanguageService ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Extbase\Mvc\Controller\ActionController
 initializeActionMethodArguments ()
 
 initializeActionMethodValidators ()
 
 renderAssetsForRequest (RequestInterface $request)
 
 resolveActionMethodName ()
 
 callActionMethod (RequestInterface $request)
 
 resolveView ()
 
 setViewConfiguration (ViewInterface $view)
 
 errorAction ()
 
 addErrorFlashMessage ()
 
 getErrorFlashMessage ()
 
 forwardToReferringRequest ()
 
 getFlattenedValidationErrorMessage ()
 
 getFlashMessageQueue (string $identifier=null)
 
 redirect (?string $actionName, ?string $controllerName=null, ?string $extensionName=null, ?array $arguments=null, ?int $pageUid=null, $_=null, int $statusCode=303)
 
 redirectToUri (string|UriInterface $uri, $_=null, int $statusCode=303)
 
 addBaseUriIfNecessary (string $uri)
 
 mapRequestArgumentsToControllerArguments ()
 
 htmlResponse (string $html=null)
 
 jsonResponse (string $json=null)
 

Protected Attributes

int $pageUid = 0
 
array $indexerConfig = []
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extbase\Mvc\Controller\ActionController
ResponseFactoryInterface $responseFactory
 
StreamFactoryInterface $streamFactory
 
HashService $hashService
 
ReflectionService $reflectionService
 
ViewInterface $view
 
string $defaultViewObjectName = TemplateView::class
 
string $actionMethodName = 'indexAction'
 
string $errorMethodName = 'errorAction'
 
MvcPropertyMappingConfigurationService $mvcPropertyMappingConfigurationService
 
EventDispatcherInterface $eventDispatcher
 
RequestInterface $request
 
UriBuilder $uriBuilder
 
array $settings
 
ValidatorResolver $validatorResolver
 
Arguments $arguments
 
ConfigurationManagerInterface $configurationManager
 

Detailed Description

Administration controller. Main module "Indexing".

This class is a specific controller implementation and is not considered part of the Public TYPO3 API.

Definition at line 45 of file AdministrationController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::__construct ( protected readonly ModuleTemplateFactory  $moduleTemplateFactory,
protected readonly AdministrationRepository  $administrationRepository,
protected readonly Indexer  $indexer,
protected readonly IconFactory  $iconFactory,
protected readonly ExtensionConfiguration  $extensionConfiguration,
protected readonly ConnectionPool  $connectionPool 
)

Definition at line 50 of file AdministrationController.php.

Member Function Documentation

◆ deleteIndexedItemAction()

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::deleteIndexedItemAction ( string  $itemId,
int  $depth = 1,
string  $mode = 'overview' 
)
protected

Remove item from index

Definition at line 464 of file AdministrationController.php.

References TYPO3\CMS\Extbase\Mvc\Controller\ActionController\redirect().

◆ externalDocumentsAction()

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::externalDocumentsAction ( )
protected

◆ getBackendUserAuthentication()

◆ getLanguageService()

◆ indexAction()

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::indexAction ( )
protected

◆ initializeAction()

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::initializeAction ( )
protected

Function will be called before every other action

Reimplemented from TYPO3\CMS\Extbase\Mvc\Controller\ActionController.

Definition at line 130 of file AdministrationController.php.

◆ initializeModuleTemplate()

◆ pagesAction()

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::pagesAction ( )
protected

◆ processRequest()

◆ saveStopwordsAction()

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::saveStopwordsAction ( string  $pageHash,
array  $stopwords = [] 
)
protected

◆ statisticAction()

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::statisticAction ( int  $depth = 1,
string  $mode = 'overview' 
)
protected

◆ statisticDetailsAction()

◆ wordDetailAction()

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::wordDetailAction ( string  $wordHash,
string  $pageHash,
string  $wordTitle 
)
protected

Member Data Documentation

◆ $indexerConfig

array TYPO3\CMS\IndexedSearch\Controller\AdministrationController::$indexerConfig = []
protected

Definition at line 48 of file AdministrationController.php.

◆ $pageUid

int TYPO3\CMS\IndexedSearch\Controller\AdministrationController::$pageUid = 0
protected

Definition at line 47 of file AdministrationController.php.