‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Resource\Processing\ImageCropScaleMaskTask Class Reference
Inheritance diagram for TYPO3\CMS\Core\Resource\Processing\ImageCropScaleMaskTask:
TYPO3\CMS\Core\Resource\Processing\AbstractTask TYPO3\CMS\Core\Resource\Processing\TaskInterface

Public Member Functions

 getType ()
 
 getName ()
 
 getTargetFileExtension ()
 
 getTargetFileName ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Resource\Processing\AbstractTask
 __construct (protected ProcessedFile $targetFile, protected array $configuration)
 
 getConfigurationChecksum ()
 
 getTargetFilename ()
 
 getTargetFile ()
 
 getSourceFile ()
 
 getConfiguration ()
 
 isExecuted ()
 
 setExecuted (bool $successful)
 
 isSuccessful ()
 
 fileNeedsProcessing ()
 
 sanitizeConfiguration ()
 

Protected Member Functions

 determineTargetFileExtension ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Resource\Processing\AbstractTask
 getChecksumData ()
 

Protected Attributes

string null $targetFileExtension
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Resource\Processing\AbstractTask
Resource File $sourceFile
 
bool $executed = false
 
bool $successful
 

Detailed Description

A task that takes care of cropping, scaling and/or masking an image.

Definition at line 25 of file ImageCropScaleMaskTask.php.

Member Function Documentation

◆ determineTargetFileExtension()

TYPO3\CMS\Core\Resource\Processing\ImageCropScaleMaskTask::determineTargetFileExtension ( )
protected

Gets the file extension the processed file should have in the filesystem by either using the configuration setting, or the extension of the original file.

Definition at line 56 of file ImageCropScaleMaskTask.php.

References $GLOBALS, TYPO3\CMS\Core\Resource\Processing\ImageCropScaleMaskTask\$targetFileExtension, TYPO3\CMS\Core\Resource\Processing\AbstractTask\getSourceFile(), and TYPO3\CMS\Core\Utility\GeneralUtility\inList().

Referenced by TYPO3\CMS\Core\Resource\Processing\ImageCropScaleMaskTask\getTargetFileExtension().

◆ getName()

TYPO3\CMS\Core\Resource\Processing\ImageCropScaleMaskTask::getName ( )

Returns the name of this task

Reimplemented from TYPO3\CMS\Core\Resource\Processing\AbstractTask.

Definition at line 34 of file ImageCropScaleMaskTask.php.

◆ getTargetFileExtension()

TYPO3\CMS\Core\Resource\Processing\ImageCropScaleMaskTask::getTargetFileExtension ( )

◆ getTargetFileName()

TYPO3\CMS\Core\Resource\Processing\ImageCropScaleMaskTask::getTargetFileName ( )

◆ getType()

TYPO3\CMS\Core\Resource\Processing\ImageCropScaleMaskTask::getType ( )

Returns the type of this task

Reimplemented from TYPO3\CMS\Core\Resource\Processing\AbstractTask.

Definition at line 29 of file ImageCropScaleMaskTask.php.

Member Data Documentation

◆ $targetFileExtension

string null TYPO3\CMS\Core\Resource\Processing\ImageCropScaleMaskTask::$targetFileExtension
protected