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

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/'
 

Detailed Description

Wizard for rendering image manipulation view

Definition at line 28 of file ImageManipulationWizard.php.

Member Function Documentation

getAvailableRatios ( ServerRequestInterface  $request)
protected

Get available ratios

Parameters
ServerRequestInterface$request
Returns
array

Definition at line 92 of file ImageManipulationWizard.php.

References ServerRequestInterface\getQueryParams().

Referenced by ImageManipulationWizard\getWizardAction().

getFluidTemplateObject (   $templatePathAndFileName = null)
protected

Returns a new standalone view, shorthand function

Parameters
string$templatePathAndFileNameoptional the path to set the template path and filename
Returns
StandaloneView

Definition at line 109 of file ImageManipulationWizard.php.

References GeneralUtility\getFileAbsFileName(), and GeneralUtility\makeInstance().

Referenced by ImageManipulationWizard\getWizardAction().

getWizardAction ( ServerRequestInterface  $request,
ResponseInterface  $response 
)
isValidToken ( ServerRequestInterface  $request)
protected

Check if hmac token is correct

Parameters
ServerRequestInterface$requestthe request with the GET parameters
Returns
bool

Definition at line 74 of file ImageManipulationWizard.php.

References ServerRequestInterface\getQueryParams(), and GeneralUtility\hmac().

Referenced by ImageManipulationWizard\getWizardAction().

Member Data Documentation

$templatePath = 'EXT:backend/Resources/Private/Templates/'
protected

Definition at line 33 of file ImageManipulationWizard.php.