TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Backend\Form\Element\ImageManipulationElement Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Form\Element\ImageManipulationElement:
TYPO3\CMS\Backend\Form\Element\AbstractFormElement TYPO3\CMS\Backend\Form\AbstractNode TYPO3\CMS\Backend\Form\NodeInterface

Public Member Functions

 render ()
 
 getPreview (File $file, $crop)
 
- Public Member Functions inherited from TYPO3\CMS\Backend\Form\Element\AbstractFormElement
 __construct (NodeFactory $nodeFactory, array $data)
 
- Public Member Functions inherited from TYPO3\CMS\Backend\Form\AbstractNode
 __construct (NodeFactory $nodeFactory, array $data)
 
 render ()
 

Protected Member Functions

 getFile (array $row, $fieldName)
 
 getImageManipulationInfoTable ($rawImageManipulationValue)
 
- Protected Member Functions inherited from TYPO3\CMS\Backend\Form\Element\AbstractFormElement
 isWizardsDisabled ()
 
 formMaxWidth ($size=48)
 
 getClipboardElements ($allowed, $mode)
 
 getLanguageService ()
 
- Protected Member Functions inherited from TYPO3\CMS\Backend\Form\AbstractNode
 initializeResultArray ()
 
 mergeChildReturnIntoExistingResult (array $existing, array $childReturn)
 
 getValidationDataAsDataAttribute (array $config)
 
 getValidationDataAsJsonString (array $config)
 

Protected Attributes

 $defaultConfig
 
- Protected Attributes inherited from TYPO3\CMS\Backend\Form\Element\AbstractFormElement
 $defaultInputWidth = 30
 
 $minimumInputWidth = 10
 
 $maxInputWidth = 50
 
 $clipboard = null
 
 $iconFactory
 
- Protected Attributes inherited from TYPO3\CMS\Backend\Form\AbstractNode
 $data = []
 

Detailed Description

Generation of image manipulation TCEform element

Definition at line 29 of file ImageManipulationElement.php.

Member Function Documentation

◆ getFile()

TYPO3\CMS\Backend\Form\Element\ImageManipulationElement::getFile ( array  $row,
  $fieldName 
)
protected

◆ getImageManipulationInfoTable()

TYPO3\CMS\Backend\Form\Element\ImageManipulationElement::getImageManipulationInfoTable (   $rawImageManipulationValue)
protected

Get image manipulation info table

Parameters
string$rawImageManipulationValue
Returns
string

Definition at line 224 of file ImageManipulationElement.php.

References TYPO3\CMS\Backend\Form\Element\AbstractFormElement\getLanguageService().

Referenced by TYPO3\CMS\Backend\Form\Element\ImageManipulationElement\render().

◆ getPreview()

TYPO3\CMS\Backend\Form\Element\ImageManipulationElement::getPreview ( File  $file,
  $crop 
)

Get preview image if cropping is set

Parameters
File$file
string$crop
Returns
string

Definition at line 190 of file ImageManipulationElement.php.

References TYPO3\CMS\Core\Resource\ProcessedFile\CONTEXT_IMAGECROPSCALEMASK, and TYPO3\CMS\Core\Resource\File\process().

Referenced by TYPO3\CMS\Backend\Form\Element\ImageManipulationElement\render().

◆ render()

Member Data Documentation

◆ $defaultConfig

TYPO3\CMS\Backend\Form\Element\ImageManipulationElement::$defaultConfig
protected
Initial value:
= [
'file_field' => 'uid_local'

Definition at line 36 of file ImageManipulationElement.php.