TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
BackendUserController Class Reference
Inheritance diagram for BackendUserController:
BackendUserActionController ActionController AbstractController ControllerInterface

Public Member Functions

 injectModuleDataStorageService (\TYPO3\CMS\Beuser\Service\ModuleDataStorageService $moduleDataStorageService)
 
 injectBackendUserRepository (\TYPO3\CMS\Beuser\Domain\Repository\BackendUserRepository $backendUserRepository)
 
 injectBackendUserGroupRepository (\TYPO3\CMS\Beuser\Domain\Repository\BackendUserGroupRepository $backendUserGroupRepository)
 
 injectBackendUserSessionRepository (\TYPO3\CMS\Beuser\Domain\Repository\BackendUserSessionRepository $backendUserSessionRepository)
 
 processRequest (\TYPO3\CMS\Extbase\Mvc\RequestInterface $request,\TYPO3\CMS\Extbase\Mvc\ResponseInterface $response)
 
 initializeAction ()
 
 indexAction (\TYPO3\CMS\Beuser\Domain\Model\Demand $demand=null)
 
 onlineAction ()
 
 compareAction ()
 
 addToCompareListAction ($uid)
 
 removeFromCompareListAction ($uid)
 
- 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

 terminateBackendUserSessionAction (\TYPO3\CMS\Beuser\Domain\Model\BackendUser $backendUser, $sessionId)
 
 switchUser ($switchUser)
 
 getBackendUserAuthentication ()
 
 getLanguageService ()
 
- Protected Member Functions inherited from BackendUserActionController
 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

 $moduleData
 
 $moduleDataStorageService
 
 $backendUserRepository
 
 $backendUserGroupRepository
 
 $backendUserSessionRepository
 
- Protected Attributes inherited from BackendUserActionController
 $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

Backend module user administration controller

Definition at line 27 of file BackendUserController.php.

Member Function Documentation

addToCompareListAction (   $uid)

Attaches one backend user to the compare list

Parameters
int$uid
Returns
void

Definition at line 205 of file BackendUserController.php.

References AbstractController\forward().

compareAction ( )

Compare backend users from demand

Returns
void

Definition at line 191 of file BackendUserController.php.

References $GLOBALS.

getBackendUserAuthentication ( )
protected
Returns
BackendUserAuthentication

Definition at line 312 of file BackendUserController.php.

References $GLOBALS.

Referenced by BackendUserController\onlineAction(), and BackendUserController\switchUser().

getLanguageService ( )
protected
Returns
LanguageService

Definition at line 320 of file BackendUserController.php.

References $GLOBALS.

indexAction ( \TYPO3\CMS\Beuser\Domain\Model\Demand  $demand = null)

Displays all BackendUsers

  • Switch session to different user
Parameters
\TYPO3\CMS\Beuser\Domain\Model\Demand$demand
Returns
void

Definition at line 132 of file BackendUserController.php.

References $GLOBALS, GeneralUtility\_GP(), and BackendUserController\switchUser().

initializeAction ( )

Initialize actions

Returns
void
Exceptions
RuntimeException

Definition at line 113 of file BackendUserController.php.

injectBackendUserGroupRepository ( \TYPO3\CMS\Beuser\Domain\Repository\BackendUserGroupRepository  $backendUserGroupRepository)
Parameters
\TYPO3\CMS\Beuser\Domain\Repository\BackendUserGroupRepository$backendUserGroupRepository

Definition at line 73 of file BackendUserController.php.

References BackendUserController\$backendUserGroupRepository.

injectBackendUserRepository ( \TYPO3\CMS\Beuser\Domain\Repository\BackendUserRepository  $backendUserRepository)
Parameters
\TYPO3\CMS\Beuser\Domain\Repository\BackendUserRepository$backendUserRepository

Definition at line 65 of file BackendUserController.php.

References BackendUserController\$backendUserRepository.

injectBackendUserSessionRepository ( \TYPO3\CMS\Beuser\Domain\Repository\BackendUserSessionRepository  $backendUserSessionRepository)
Parameters
\TYPO3\CMS\Beuser\Domain\Repository\BackendUserSessionRepository$backendUserSessionRepository

Definition at line 81 of file BackendUserController.php.

References BackendUserController\$backendUserSessionRepository.

injectModuleDataStorageService ( \TYPO3\CMS\Beuser\Service\ModuleDataStorageService  $moduleDataStorageService)
Parameters
\TYPO3\CMS\Beuser\Service\ModuleDataStorageService$moduleDataStorageService

Definition at line 57 of file BackendUserController.php.

References BackendUserController\$moduleDataStorageService.

onlineAction ( )

Views all currently logged in BackendUsers and their sessions

Returns
void

Definition at line 170 of file BackendUserController.php.

References $GLOBALS, and BackendUserController\getBackendUserAuthentication().

Load and persist module data

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

Definition at line 94 of file BackendUserController.php.

removeFromCompareListAction (   $uid)

Removes given backend user to the compare list

Parameters
int$uid
Returns
void

Definition at line 218 of file BackendUserController.php.

References AbstractController\forward().

switchUser (   $switchUser)
protected

Switches to a given user (SU-mode) and then redirects to the start page of the backend to refresh the navigation etc.

Parameters
string$switchUserBE-user record that will be switched to
Returns
void

Definition at line 264 of file BackendUserController.php.

References $GLOBALS, BackendUserController\getBackendUserAuthentication(), BackendUserAuthentication\getCookieName(), BackendUtility\getRecord(), GeneralUtility\makeInstance(), and HttpUtility\redirect().

Referenced by BackendUserController\indexAction().

terminateBackendUserSessionAction ( \TYPO3\CMS\Beuser\Domain\Model\BackendUser  $backendUser,
  $sessionId 
)
protected

Terminate BackendUser session and logout corresponding client Redirects to onlineAction with message

Parameters
\TYPO3\CMS\Beuser\Domain\Model\BackendUser$backendUser
string$sessionId
Returns
void

Definition at line 233 of file BackendUserController.php.

References AbstractController\addFlashMessage(), AbstractController\forward(), GeneralUtility\makeInstance(), and LocalizationUtility\translate().

Member Data Documentation

$backendUserGroupRepository
protected
$backendUserRepository
protected
$backendUserSessionRepository
protected
$moduleData
protected

Definition at line 32 of file BackendUserController.php.

$moduleDataStorageService
protected