TYPO3 CMS  TYPO3_7-6
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\AbstractController TYPO3\CMS\Extbase\Mvc\Controller\ControllerInterface

Public Member Functions

 initializeAction ()
 
 processRequest (\TYPO3\CMS\Extbase\Mvc\RequestInterface $request, \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response)
 
 injectAdministrationRepository (AdministrationRepository $administrationRepository)
 
 indexAction ()
 
 pagesAction ()
 
 externalDocumentsAction ()
 
 statisticDetailsAction ($pageHash=0)
 
 saveStopwordsKeywordsAction ($pageHash, $pageId, $stopwords=[], $keywords=[])
 
 wordDetailAction ($id=0, $pageHash=0)
 
 deleteIndexedItemAction ($id, $depth=1, $mode='overview')
 
- Public Member Functions inherited from TYPO3\CMS\Extbase\Mvc\Controller\ActionController
 injectReflectionService (\TYPO3\CMS\Extbase\Reflection\ReflectionService $reflectionService)
 
 injectCacheService (\TYPO3\CMS\Extbase\Service\CacheService $cacheService)
 
 injectMvcPropertyMappingConfigurationService (\TYPO3\CMS\Extbase\Mvc\Controller\MvcPropertyMappingConfigurationService $mvcPropertyMappingConfigurationService)
 
 processRequest (\TYPO3\CMS\Extbase\Mvc\RequestInterface $request, \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response)
 
- Public Member Functions inherited from TYPO3\CMS\Extbase\Mvc\Controller\AbstractController
 injectSignalSlotDispatcher (\TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher)
 
 injectValidatorResolver (\TYPO3\CMS\Extbase\Validation\ValidatorResolver $validatorResolver)
 
 getControllerContext ()
 
 __construct ()
 
 injectConfigurationManager (ConfigurationManagerInterface $configurationManager)
 
 injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager)
 
 addFlashMessage ($messageBody, $messageTitle='', $severity=\TYPO3\CMS\Core\Messaging\AbstractMessage::OK, $storeInSession=true)
 
 canProcessRequest (\TYPO3\CMS\Extbase\Mvc\RequestInterface $request)
 
 processRequest (\TYPO3\CMS\Extbase\Mvc\RequestInterface $request, \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response)
 
 forward ($actionName, $controllerName=null, $extensionName=null, array $arguments=null)
 
 throwStatus ($statusCode, $statusMessage=null, $content=null)
 

Protected Member Functions

 generateMenu ()
 
 getHref ($controller, $action, $parameters=[])
 
 getDatabaseConnection ()
 
 getBackendUserAuthentication ()
 
 getLanguageService ()
 
- Protected Member Functions inherited from TYPO3\CMS\Extbase\Mvc\Controller\ActionController
 initializeActionMethodArguments ()
 
 resolveActionMethodName ()
 
 emitBeforeCallActionMethodSignal (array $preparedArguments)
 
 setViewConfiguration (ViewInterface $view)
 
 getViewProperty ($extbaseFrameworkConfiguration, $setting)
 
 resolveViewObjectName ()
 
 initializeView (ViewInterface $view)
 
 initializeAction ()
 
 errorAction ()
 
 clearCacheOnError ()
 
 addErrorFlashMessage ()
 
 getErrorFlashMessage ()
 
 forwardToReferringRequest ()
 
 getFlattenedValidationErrorMessage ()
 
- Protected Member Functions inherited from TYPO3\CMS\Extbase\Mvc\Controller\AbstractController
 redirect ($actionName, $controllerName=null, $extensionName=null, array $arguments=null, $pageUid=null, $delay=0, $statusCode=303)
 
 redirectToUri ($uri, $delay=0, $statusCode=303)
 
 addBaseUriIfNecessary ($uri)
 

Protected Attributes

 $administrationRepository
 
 $pageUid = 0
 
 $external_parsers = []
 
 $indexerConfig = []
 
 $enableMetaphoneSearch = false
 
 $indexer
 
 $defaultViewObjectName = BackendTemplateView::class
 
 $view
 
- Protected Attributes inherited from TYPO3\CMS\Extbase\Mvc\Controller\ActionController
 $reflectionService
 
 $cacheService
 
 $view = null
 
 $namespacesViewObjectNamePattern = '@vendor\@extension\View\@controller\@action@format'
 
 $viewFormatToObjectNameMap = []
 
 $defaultViewObjectName = \TYPO3\CMS\Fluid\View\TemplateView::class
 
 $actionMethodName = 'indexAction'
 
 $errorMethodName = 'errorAction'
 
 $mvcPropertyMappingConfigurationService
 
 $request
 
 $response
 
- Protected Attributes inherited from TYPO3\CMS\Extbase\Mvc\Controller\AbstractController
 $signalSlotDispatcher
 
 $objectManager
 
 $uriBuilder
 
 $extensionName
 
 $settings
 
 $request
 
 $response
 
 $validatorResolver
 
 $arguments
 
 $supportedRequestTypes = [\TYPO3\CMS\Extbase\Mvc\Request::class]
 
 $controllerContext
 
 $configurationManager
 

Additional Inherited Members

- Static Public Member Functions inherited from TYPO3\CMS\Extbase\Mvc\Controller\ActionController
static getActionMethodParameters ($objectManager)
 

Detailed Description

Administration controller

Definition at line 33 of file AdministrationController.php.

Member Function Documentation

◆ deleteIndexedItemAction()

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::deleteIndexedItemAction (   $id,
  $depth = 1,
  $mode = 'overview' 
)

Remove item from index

Parameters
string$id
int$depth
string$mode
Returns
void

Definition at line 439 of file AdministrationController.php.

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

◆ externalDocumentsAction()

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

Statistics for external documents

Returns
void

Definition at line 249 of file AdministrationController.php.

◆ generateMenu()

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

◆ getBackendUserAuthentication()

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

◆ getDatabaseConnection()

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

◆ getHref()

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::getHref (   $controller,
  $action,
  $parameters = [] 
)
protected

Creates te URI for a backend action

Parameters
string$controller
string$action
array$parameters
Returns
string

Definition at line 454 of file AdministrationController.php.

References TYPO3\CMS\Extbase\Mvc\Controller\AbstractController\$uriBuilder.

Referenced by TYPO3\CMS\IndexedSearch\Controller\AdministrationController\generateMenu(), and TYPO3\CMS\IndexedSearch\Controller\AdministrationController\statisticDetailsAction().

◆ getLanguageService()

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

◆ indexAction()

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

Index action contains the most important statistics

Returns
void

Definition at line 214 of file AdministrationController.php.

References $GLOBALS.

◆ initializeAction()

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

Function will be called before every other action

Returns
void

Definition at line 151 of file AdministrationController.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\_GET(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ injectAdministrationRepository()

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::injectAdministrationRepository ( AdministrationRepository  $administrationRepository)
Parameters
\TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository$administrationRepository
Returns
void

Definition at line 204 of file AdministrationController.php.

References TYPO3\CMS\IndexedSearch\Controller\AdministrationController\$administrationRepository.

◆ pagesAction()

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

Statistics for pages

Returns
void

Definition at line 239 of file AdministrationController.php.

◆ processRequest()

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::processRequest ( \TYPO3\CMS\Extbase\Mvc\RequestInterface  $request,
\TYPO3\CMS\Extbase\Mvc\ResponseInterface  $response 
)

Override the action name if found in the uc of the user

Parameters
\TYPO3\CMS\Extbase\Mvc\RequestInterface$request
\TYPO3\CMS\Extbase\Mvc\ResponseInterface$response
Exceptions

Definition at line 168 of file AdministrationController.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\_GET(), and TYPO3\CMS\IndexedSearch\Controller\AdministrationController\getBackendUserAuthentication().

◆ saveStopwordsKeywordsAction()

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::saveStopwordsKeywordsAction (   $pageHash,
  $pageId,
  $stopwords = [],
  $keywords = [] 
)

Save stop words and keywords

Parameters
string$pageHash
int$pageId
array$stopwords
array$keywords
Returns
void

Definition at line 363 of file AdministrationController.php.

References TYPO3\CMS\IndexedSearch\Controller\AdministrationController\getBackendUserAuthentication(), and TYPO3\CMS\Extbase\Mvc\Controller\AbstractController\redirect().

◆ statisticDetailsAction()

◆ wordDetailAction()

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::wordDetailAction (   $id = 0,
  $pageHash = 0 
)

Member Data Documentation

◆ $administrationRepository

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::$administrationRepository
protected

◆ $defaultViewObjectName

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::$defaultViewObjectName = BackendTemplateView::class
protected

Definition at line 72 of file AdministrationController.php.

◆ $enableMetaphoneSearch

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::$enableMetaphoneSearch = false
protected

Definition at line 58 of file AdministrationController.php.

◆ $external_parsers

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

◆ $indexer

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::$indexer
protected

Definition at line 65 of file AdministrationController.php.

◆ $indexerConfig

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

Definition at line 53 of file AdministrationController.php.

◆ $pageUid

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

Definition at line 43 of file AdministrationController.php.

◆ $view

TYPO3\CMS\IndexedSearch\Controller\AdministrationController::$view
protected

Definition at line 79 of file AdministrationController.php.