TYPO3  7.6
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
PermissionController Class Reference
Inheritance diagram for PermissionController:
ActionController AbstractController ControllerInterface

Public Member Functions

 editAction ()
 
- 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)
 

Public Attributes

const SESSION_PREFIX = 'tx_Beuser_'
 

Protected Member Functions

 initializeAction ()
 
 initializeView (ViewInterface $view)
 
 updateAction (array $data, array $mirror)
 
 getBackendUser ()
 
 getDatabaseConnection ()
 
 getRecursiveSelectOptions ()
 
 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

 $id
 
 $returnId
 
 $depth
 
 $lastEdited
 
 $getLevels = 10
 
 $pageInfo = array()
 
 $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

Backend module page permissions

Definition at line 32 of file PermissionController.php.

Member Function Documentation

editAction ( )
getBackendUser ( )
protected
getDatabaseConnection ( )
protected
Returns
DatabaseConnection

Definition at line 344 of file PermissionController.php.

References $GLOBALS.

Referenced by PermissionController\updateAction().

getLanguageService ( )
protected

Returns LanguageService

Returns

Definition at line 394 of file PermissionController.php.

References $GLOBALS.

getRecursiveSelectOptions ( )
protected

Finding tree and offer setting of values recursively.

Returns
array

Definition at line 354 of file PermissionController.php.

References PermissionController\getBackendUser(), GeneralUtility\makeInstance(), and LocalizationUtility\translate().

Referenced by PermissionController\editAction().

initializeAction ( )
protected

Initialize action

Returns
void

Definition at line 90 of file PermissionController.php.

References GeneralUtility\_GP(), PermissionController\getBackendUser(), and BackendUtility\readPageAccess().

initializeView ( ViewInterface  $view)
protected

Initializes view

Parameters
ViewInterface$viewThe view to be initialized
Returns
void

Definition at line 117 of file PermissionController.php.

References ViewInterface\assign(), and BackendUtility\BEgetRootLine().

updateAction ( array  $data,
array  $mirror 
)
protected

Update action

Parameters
array$data
array$mirror
Returns
void

Definition at line 302 of file PermissionController.php.

References PermissionController\getDatabaseConnection(), AbstractController\redirect(), and GeneralUtility\trimExplode().

Member Data Documentation

$defaultViewObjectName = BackendTemplateView::class
protected

Definition at line 76 of file PermissionController.php.

$depth
protected

Definition at line 52 of file PermissionController.php.

$getLevels = 10
protected

Definition at line 64 of file PermissionController.php.

$id
protected

Definition at line 42 of file PermissionController.php.

$lastEdited
protected

Definition at line 57 of file PermissionController.php.

$pageInfo = array()
protected

Definition at line 69 of file PermissionController.php.

$returnId
protected

Definition at line 47 of file PermissionController.php.

$view
protected

Definition at line 83 of file PermissionController.php.

const SESSION_PREFIX = 'tx_Beuser_'

Definition at line 37 of file PermissionController.php.