TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
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=array(), $keywords=array())
 
 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=[])
 
 getDatabaseConnection ()
 
 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 = array()
 
 $indexerConfig = array()
 
 $enableMetaphoneSearch = false
 
 $indexer
 
 $defaultViewObjectName = BackendTemplateView::class
 
 $view
 
- Protected Attributes inherited from ActionController
 $reflectionService
 
 $cacheService
 
 $view = null
 
 $namespacesViewObjectNamePattern = '@vendor\@extension\View\@controller\@action@format'
 
 $viewFormatToObjectNameMap = array()
 
 $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 = array(\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 34 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 437 of file AdministrationController.php.

References AbstractController\redirect().

externalDocumentsAction ( )

Statistics for external documents

Returns
void

Definition at line 246 of file AdministrationController.php.

generateMenu ( )
protected
getBackendUserAuthentication ( )
protected
Returns
BackendUserAuthentication

Definition at line 470 of file AdministrationController.php.

References $GLOBALS.

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

getDatabaseConnection ( )
protected
Returns
DatabaseConnection

Definition at line 462 of file AdministrationController.php.

References $GLOBALS.

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

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

Creates te URI for a backend action

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

Definition at line 452 of file AdministrationController.php.

References AbstractController\$uriBuilder.

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

getLanguageService ( )
protected
Returns
LanguageService

Definition at line 478 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 211 of file AdministrationController.php.

References $GLOBALS.

initializeAction ( )

Function will be called before every other action

Returns
void

Definition at line 148 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 201 of file AdministrationController.php.

References AdministrationController\$administrationRepository.

pagesAction ( )

Statistics for pages

Returns
void

Definition at line 236 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\CMS\Extbase\Mvc\Exception\UnsupportedRequestTypeException

Definition at line 165 of file AdministrationController.php.

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

saveStopwordsKeywordsAction (   $pageHash,
  $pageId,
  $stopwords = array(),
  $keywords = array() 
)

Save stop words and keywords

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

Definition at line 360 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 381 of file AdministrationController.php.

References AdministrationController\getDatabaseConnection().

Member Data Documentation

$administrationRepository
protected
$defaultViewObjectName = BackendTemplateView::class
protected

Definition at line 73 of file AdministrationController.php.

$enableMetaphoneSearch = false
protected

Definition at line 59 of file AdministrationController.php.

$external_parsers = array()
protected

Definition at line 49 of file AdministrationController.php.

$indexer
protected

Definition at line 66 of file AdministrationController.php.

$indexerConfig = array()
protected

Definition at line 54 of file AdministrationController.php.

$pageUid = 0
protected

Definition at line 44 of file AdministrationController.php.

$view
protected

Definition at line 80 of file AdministrationController.php.