ShortcutController
Controller for shortcut processing
This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.
Table of Contents
Properties
- $moduleLoader : ModuleLoader
 - $shortcutRepository : ShortcutRepository
 - $shortcutToolbarItem : ShortcutToolbarItem
 
Methods
- __construct() : mixed
 - Set up dependencies
 - addAction() : ResponseInterface
 - Creates a shortcut through an AJAX call
 - menuAction() : ResponseInterface
 - Renders the menu so that it can be returned as response to an AJAX call
 - removeAction() : ResponseInterface
 - Deletes a shortcut through an AJAX call
 - showEditFormAction() : ResponseInterface
 - Fetches the available shortcut groups, renders a form so it can be saved later on, called via AJAX
 - updateAction() : ResponseInterface
 - Gets called when a shortcut is changed, checks whether the user has permissions to do so and saves the changes if everything is ok
 - getBackendUser() : BackendUserAuthentication
 - getFluidTemplateObject() : StandaloneView
 - returns a new standalone view, shorthand function
 - getLanguageService() : LanguageService
 
Properties
$moduleLoader
        protected
            ModuleLoader
    $moduleLoader
    
    
    
    
    
    
$shortcutRepository
        protected
            ShortcutRepository
    $shortcutRepository
    
    
    
    
    
    
$shortcutToolbarItem
        protected
            ShortcutToolbarItem
    $shortcutToolbarItem
    
    
    
    
    
    
Methods
__construct()
Set up dependencies
    public
                    __construct() : mixed
    addAction()
Creates a shortcut through an AJAX call
    public
                    addAction(ServerRequestInterface $request) : ResponseInterface
    Parameters
- $request : ServerRequestInterface
 
Return values
ResponseInterfacemenuAction()
Renders the menu so that it can be returned as response to an AJAX call
    public
                    menuAction() : ResponseInterface
    Return values
ResponseInterfaceremoveAction()
Deletes a shortcut through an AJAX call
    public
                    removeAction(ServerRequestInterface $request) : ResponseInterface
    Parameters
- $request : ServerRequestInterface
 
Return values
ResponseInterfaceshowEditFormAction()
Fetches the available shortcut groups, renders a form so it can be saved later on, called via AJAX
    public
                    showEditFormAction(ServerRequestInterface $request) : ResponseInterface
    Parameters
- $request : ServerRequestInterface
 
Return values
ResponseInterface —the full HTML for the form
updateAction()
Gets called when a shortcut is changed, checks whether the user has permissions to do so and saves the changes if everything is ok
    public
                    updateAction(ServerRequestInterface $request) : ResponseInterface
    Parameters
- $request : ServerRequestInterface
 
Return values
ResponseInterfacegetBackendUser()
    protected
                    getBackendUser() : BackendUserAuthentication
    Return values
BackendUserAuthenticationgetFluidTemplateObject()
returns a new standalone view, shorthand function
    protected
                    getFluidTemplateObject(string $templateFilename) : StandaloneView
    Parameters
- $templateFilename : string
 
param string $templateFile
Tags
Return values
StandaloneViewgetLanguageService()
    protected
                    getLanguageService() : LanguageService