ShortcutController

Controller for shortcut processing.

Internal

This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.

Attributes
#[AsController]

Table of Contents

Properties

$backendViewFactory  : BackendViewFactory
$shortcutRepository  : ShortcutRepository
$shortcutToolbarItem  : ShortcutToolbarItem

Methods

__construct()  : mixed
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.

Properties

Methods

addAction()

Creates a shortcut through an AJAX call.

public addAction(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

menuAction()

Renders the menu so that it can be returned as response to an AJAX call.

public menuAction(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

removeAction()

Deletes a shortcut through an AJAX call.

public removeAction(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

showEditFormAction()

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

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
ResponseInterface

        
On this page

Search results