‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Controller\ClipboardController Class Reference

Public Member Functions

 __construct (ResponseFactoryInterface $responseFactory, StreamFactoryInterface $streamFactory)
 
 processRequest (ServerRequestInterface $request)
 

Protected Member Functions

 getClipboardDataAction (ServerRequestInterface $request)
 
 createResponse (array $data)
 
 getLanguageService ()
 

Protected Attributes

ResponseFactoryInterface $responseFactory
 
StreamFactoryInterface $streamFactory
 
Clipboard $clipboard
 

Private Attributes

const ALLOWED_ACTIONS = ['getClipboardData']
 

Detailed Description

Controller which behaves as endpoint for clipboard requests, dispatched from either the clipboard panel web component or any of the corresponding modules.

This class is a specific Backend controller implementation and is not part of the TYPO3's Core API.

Definition at line 36 of file ClipboardController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Controller\ClipboardController::__construct ( ResponseFactoryInterface  $responseFactory,
StreamFactoryInterface  $streamFactory 
)

Member Function Documentation

◆ createResponse()

TYPO3\CMS\Backend\Controller\ClipboardController::createResponse ( array  $data)
protected

◆ getClipboardDataAction()

TYPO3\CMS\Backend\Controller\ClipboardController::getClipboardDataAction ( ServerRequestInterface  $request)
protected

◆ getLanguageService()

TYPO3\CMS\Backend\Controller\ClipboardController::getLanguageService ( )
protected

◆ processRequest()

TYPO3\CMS\Backend\Controller\ClipboardController::processRequest ( ServerRequestInterface  $request)

Process incoming clipboard request

Definition at line 54 of file ClipboardController.php.

References TYPO3\CMS\Backend\Controller\ClipboardController\createResponse().

Member Data Documentation

◆ $clipboard

Clipboard TYPO3\CMS\Backend\Controller\ClipboardController::$clipboard
protected

Definition at line 42 of file ClipboardController.php.

◆ $responseFactory

ResponseFactoryInterface TYPO3\CMS\Backend\Controller\ClipboardController::$responseFactory
protected

◆ $streamFactory

StreamFactoryInterface TYPO3\CMS\Backend\Controller\ClipboardController::$streamFactory
protected

◆ ALLOWED_ACTIONS

const TYPO3\CMS\Backend\Controller\ClipboardController::ALLOWED_ACTIONS = ['getClipboardData']
private

Definition at line 38 of file ClipboardController.php.