TYPO3  7.6
Public Member Functions | Protected Member Functions | List of all members
FileDumpController Class Reference

Public Member Functions

 dumpAction (ServerRequestInterface $request, ResponseInterface $response)
 

Protected Member Functions

 getGetOrPost (ServerRequestInterface $request, $parameter)
 

Detailed Description

Class FileDumpController

Definition at line 28 of file FileDumpController.php.

Member Function Documentation

dumpAction ( ServerRequestInterface  $request,
ResponseInterface  $response 
)

Main method to dump a file

Parameters
ServerRequestInterface$request
ResponseInterface$response
Returns
NULL|ResponseInterface
Exceptions
\InvalidArgumentException
\RuntimeException
\TYPO3\CMS\Core\Resource\Exception\FileDoesNotExistException
\UnexpectedValueException

Definition at line 42 of file FileDumpController.php.

References $GLOBALS, FileDumpController\getGetOrPost(), ResourceFactory\getInstance(), GeneralUtility\getUserObj(), GeneralUtility\hmac(), HttpUtility\HTTP_STATUS_404, GeneralUtility\makeInstance(), HttpUtility\setResponseCodeAndExit(), and ResponseInterface\withStatus().

getGetOrPost ( ServerRequestInterface  $request,
  $parameter 
)
protected
Parameters
ServerRequestInterface$request
string$parameter
Returns
NULL|mixed

Definition at line 98 of file FileDumpController.php.

References ServerRequestInterface\getParsedBody(), and ServerRequestInterface\getQueryParams().

Referenced by FileDumpController\dumpAction().