TYPO3
7.6
|
Public Member Functions | |
getWizardAction (ServerRequestInterface $request, ResponseInterface $response) | |
Protected Member Functions | |
isValidToken (ServerRequestInterface $request) | |
getAvailableRatios (ServerRequestInterface $request) | |
getFluidTemplateObject ($templatePathAndFileName=null) | |
Protected Attributes | |
$templatePath = 'EXT:backend/Resources/Private/Templates/' | |
Wizard for rendering image manipulation view
Definition at line 28 of file ImageManipulationWizard.php.
|
protected |
Get available ratios
ServerRequestInterface | $request |
Definition at line 92 of file ImageManipulationWizard.php.
References ServerRequestInterface\getQueryParams().
Referenced by ImageManipulationWizard\getWizardAction().
|
protected |
Returns a new standalone view, shorthand function
string | $templatePathAndFileName | optional the path to set the template path and filename |
Definition at line 109 of file ImageManipulationWizard.php.
References GeneralUtility\getFileAbsFileName(), and GeneralUtility\makeInstance().
Referenced by ImageManipulationWizard\getWizardAction().
getWizardAction | ( | ServerRequestInterface | $request, |
ResponseInterface | $response | ||
) |
Returns the HTML for the wizard inside the modal
ServerRequestInterface | $request | |
ResponseInterface | $response |
Definition at line 42 of file ImageManipulationWizard.php.
References $response, MathUtility\canBeInterpretedAsInteger(), ImageManipulationWizard\getAvailableRatios(), MessageInterface\getBody(), ImageManipulationWizard\getFluidTemplateObject(), ResourceFactory\getInstance(), ServerRequestInterface\getParsedBody(), ServerRequestInterface\getQueryParams(), ImageManipulationWizard\isValidToken(), and ResponseInterface\withStatus().
|
protected |
Check if hmac token is correct
ServerRequestInterface | $request | the request with the GET parameters |
Definition at line 74 of file ImageManipulationWizard.php.
References ServerRequestInterface\getQueryParams(), and GeneralUtility\hmac().
Referenced by ImageManipulationWizard\getWizardAction().
|
protected |
Definition at line 33 of file ImageManipulationWizard.php.