TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ImageCropScaleMaskTask Class Reference
Inheritance diagram for ImageCropScaleMaskTask:
AbstractGraphicalTask AbstractTask TaskInterface

Public Member Functions

 getTargetFileName ()
 
 fileNeedsProcessing ()
 
- Public Member Functions inherited from AbstractGraphicalTask
 getTargetFilename ()
 
 getTargetFileExtension ()
 
- Public Member Functions inherited from AbstractTask
 __construct (Resource\ProcessedFile $targetFile, array $configuration)
 
 getConfigurationChecksum ()
 
 getTargetFilename ()
 
 getTargetFileExtension ()
 
 getName ()
 
 getType ()
 
 getTargetFile ()
 
 setTargetFile (Resource\ProcessedFile $targetFile)
 
 getSourceFile ()
 
 setSourceFile (Resource\File $sourceFile)
 
 getConfiguration ()
 
 isExecuted ()
 
 setExecuted ($successful)
 
 isSuccessful ()
 

Protected Member Functions

 isValidConfiguration (array $configuration)
 
- Protected Member Functions inherited from AbstractGraphicalTask
 determineTargetFileExtension ()
 
- Protected Member Functions inherited from AbstractTask
 getChecksumData ()
 
 isValidConfiguration (array $configuration)
 

Protected Attributes

 $type = 'Image'
 
 $name = 'CropScaleMask'
 
- Protected Attributes inherited from AbstractGraphicalTask
 $targetFileExtension
 
- Protected Attributes inherited from AbstractTask
 $checksumData = array()
 
 $targetFile
 
 $sourceFile
 
 $configuration
 
 $type
 
 $name
 
 $executed = false
 
 $successful
 

Detailed Description

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

Definition at line 21 of file ImageCropScaleMaskTask.php.

Member Function Documentation

fileNeedsProcessing ( )

Returns TRUE if the file has to be processed at all, such as e.g. the original file does.

Note: This does not indicate if the concrete ProcessedFile attached to this task has to be (re)processed. This check is done in ProcessedFile::isOutdated().

Todo:
isOutdated()/needsReprocessing()?
Returns
bool

Implements TaskInterface.

Definition at line 53 of file ImageCropScaleMaskTask.php.

getTargetFileName ( )
Returns
string

Implements TaskInterface.

Definition at line 36 of file ImageCropScaleMaskTask.php.

isValidConfiguration ( array  $configuration)
protected

Checks if the given configuration is sensible for this task, i.e. if all required parameters are given, within the boundaries and don't conflict with each other.

Parameters
array$configuration
Returns
bool

Definition at line 48 of file ImageCropScaleMaskTask.php.

Member Data Documentation

$name = 'CropScaleMask'
protected

Definition at line 31 of file ImageCropScaleMaskTask.php.

$type = 'Image'
protected

Definition at line 26 of file ImageCropScaleMaskTask.php.