TYPO3
7.6
|
Public Member Functions | |
render () | |
getPreview (File $file, $crop) | |
Public Member Functions inherited from AbstractFormElement | |
__construct (NodeFactory $nodeFactory, array $data) | |
Public Member Functions inherited from AbstractNode | |
__construct (NodeFactory $nodeFactory, array $data) | |
render () | |
Protected Member Functions | |
getFile (array $row, $fieldName) | |
getImageManipulationInfoTable ($rawImageManipulationValue) | |
Protected Member Functions inherited from AbstractFormElement | |
isWizardsDisabled () | |
formMaxWidth ($size=48) | |
getClipboardElements ($allowed, $mode) | |
getLanguageService () | |
Protected Member Functions inherited from AbstractNode | |
initializeResultArray () | |
mergeChildReturnIntoExistingResult (array $existing, array $childReturn) | |
getValidationDataAsDataAttribute (array $config) | |
getValidationDataAsJsonString (array $config) | |
Protected Attributes | |
$defaultConfig | |
Protected Attributes inherited from AbstractFormElement | |
$defaultInputWidth = 30 | |
$minimumInputWidth = 10 | |
$maxInputWidth = 50 | |
$clipboard = null | |
$iconFactory | |
Protected Attributes inherited from AbstractNode | |
$data = array() | |
Generation of image manipulation TCEform element
Definition at line 29 of file ImageManipulationElement.php.
|
protected |
Get file object
array | $row | |
string | $fieldName |
Definition at line 160 of file ImageManipulationElement.php.
References MathUtility\canBeInterpretedAsInteger(), and ResourceFactory\getInstance().
Referenced by ImageManipulationElement\render().
|
protected |
Get image manipulation info table
string | $rawImageManipulationValue |
Definition at line 224 of file ImageManipulationElement.php.
References AbstractFormElement\getLanguageService().
Referenced by ImageManipulationElement\render().
getPreview | ( | File | $file, |
$crop | |||
) |
Get preview image if cropping is set
File | $file | |
string | $crop |
Definition at line 190 of file ImageManipulationElement.php.
References ProcessedFile\CONTEXT_IMAGECROPSCALEMASK, and File\process().
Referenced by ImageManipulationElement\render().
render | ( | ) |
Handler for unknown types.
Implements NodeInterface.
Definition at line 53 of file ImageManipulationElement.php.
References $GLOBALS, ImageManipulationElement\getFile(), ImageManipulationElement\getImageManipulationInfoTable(), AbstractFormElement\getLanguageService(), ImageManipulationElement\getPreview(), StringUtility\getUniqueId(), GeneralUtility\hmac(), AbstractNode\initializeResultArray(), GeneralUtility\inList(), and GeneralUtility\trimExplode().
|
protected |
Definition at line 36 of file ImageManipulationElement.php.