TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
AdministrationController Class Reference
Inheritance diagram for AdministrationController:
ActionController AbstractController 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 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 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=[])
 
 getBackendUserAuthentication ()
 
 getLanguageService ()
 
- Protected Member Functions inherited from 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 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 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 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 ActionController
static getActionMethodParameters ($objectManager)
 

Detailed Description

Administration controller

Definition at line 33 of file AdministrationController.php.

Member Function Documentation

deleteIndexedItemAction (   $id,
  $depth = 1,
  $mode = 'overview' 
)

Remove item from index

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

Definition at line 537 of file AdministrationController.php.

References AbstractController\redirect().

externalDocumentsAction ( )

Statistics for external documents

Returns
void

Definition at line 253 of file AdministrationController.php.

generateMenu ( )
protected
getBackendUserAuthentication ( )
protected
Returns
BackendUserAuthentication

Definition at line 562 of file AdministrationController.php.

References $GLOBALS.

Referenced by AdministrationController\processRequest(), and AdministrationController\saveStopwordsKeywordsAction().

getHref (   $controller,
  $action,
  $parameters = [] 
)
protected

Creates te URI for a backend action

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

Definition at line 552 of file AdministrationController.php.

References AbstractController\$uriBuilder.

Referenced by AdministrationController\generateMenu(), and AdministrationController\statisticDetailsAction().

getLanguageService ( )
protected
Returns
LanguageService

Definition at line 570 of file AdministrationController.php.

References $GLOBALS.

Referenced by AdministrationController\generateMenu(), and AdministrationController\statisticDetailsAction().

indexAction ( )

Index action contains the most important statistics

Returns
void

Definition at line 214 of file AdministrationController.php.

References $GLOBALS, and GeneralUtility\makeInstance().

initializeAction ( )

Function will be called before every other action

Returns
void

Definition at line 151 of file AdministrationController.php.

References $GLOBALS, GeneralUtility\_GET(), and GeneralUtility\makeInstance().

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

Definition at line 204 of file AdministrationController.php.

References AdministrationController\$administrationRepository.

pagesAction ( )

Statistics for pages

Returns
void

Definition at line 243 of file AdministrationController.php.

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
TYPO3

Definition at line 168 of file AdministrationController.php.

References GeneralUtility\_GET(), and AdministrationController\getBackendUserAuthentication().

saveStopwordsKeywordsAction (   $pageHash,
  $pageId,
  $stopwords = [],
  $keywords = [] 
)

Save stop words and keywords

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

Definition at line 445 of file AdministrationController.php.

References AdministrationController\getBackendUserAuthentication(), and AbstractController\redirect().

statisticDetailsAction (   $pageHash = 0)
wordDetailAction (   $id = 0,
  $pageHash = 0 
)

Statistics for a given word id

Parameters
int$id
int$pageHash
Returns
void

Definition at line 466 of file AdministrationController.php.

References GeneralUtility\makeInstance().

Member Data Documentation

$administrationRepository
protected
$defaultViewObjectName = BackendTemplateView::class
protected

Definition at line 72 of file AdministrationController.php.

$enableMetaphoneSearch = false
protected

Definition at line 58 of file AdministrationController.php.

$external_parsers = []
protected

Definition at line 48 of file AdministrationController.php.

$indexer
protected

Definition at line 65 of file AdministrationController.php.

$indexerConfig = []
protected

Definition at line 53 of file AdministrationController.php.

$pageUid = 0
protected

Definition at line 43 of file AdministrationController.php.

$view
protected

Definition at line 79 of file AdministrationController.php.