TYPO3
7.6
|
Public Member Functions | |
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 () | |
Public Member Functions inherited from TaskInterface | |
getTargetFileName () | |
fileNeedsProcessing () | |
Protected Member Functions | |
determineTargetFileExtension () | |
Protected Member Functions inherited from AbstractTask | |
getChecksumData () | |
isValidConfiguration (array $configuration) | |
Protected Attributes | |
$targetFileExtension | |
Protected Attributes inherited from AbstractTask | |
$checksumData = array() | |
$targetFile | |
$sourceFile | |
$configuration | |
$type | |
$name | |
$executed = false | |
$successful | |
Abstract base implementation of a task.
If you extend this class, make sure that you redefine the member variables $type and $name or set them in the constructor. Otherwise your task won't be recognized by the system and several things will fail.
Definition at line 25 of file AbstractGraphicalTask.php.
|
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 67 of file AbstractGraphicalTask.php.
References $GLOBALS, AbstractGraphicalTask\$targetFileExtension, elseif, and AbstractTask\getSourceFile().
Referenced by AbstractGraphicalTask\getTargetFileExtension().
getTargetFileExtension | ( | ) |
Determines the file extension the processed file should have in the filesystem.
Implements TaskInterface.
Definition at line 51 of file AbstractGraphicalTask.php.
References AbstractGraphicalTask\$targetFileExtension, and AbstractGraphicalTask\determineTargetFileExtension().
Referenced by AbstractGraphicalTask\getTargetFilename().
getTargetFilename | ( | ) |
Returns the name the processed file should have in the filesystem.
Definition at line 38 of file AbstractGraphicalTask.php.
References AbstractTask\getConfigurationChecksum(), AbstractTask\getSourceFile(), and AbstractGraphicalTask\getTargetFileExtension().
|
protected |
Definition at line 30 of file AbstractGraphicalTask.php.
Referenced by AbstractGraphicalTask\determineTargetFileExtension(), and AbstractGraphicalTask\getTargetFileExtension().