TYPO3
7.6
|
Public Member Functions | |
canProcessTask (TaskInterface $task) | |
processTask (TaskInterface $task) | |
getTemporaryImageWithText ($filename, $textline1, $textline2, $textline3) | |
Protected Member Functions | |
checkForExistingTargetFile (TaskInterface $task) | |
getHelperByTaskName ($taskName) | |
getGraphicalFunctionsObject () | |
Protected Attributes | |
$logger | |
Processes Local Images files
Definition at line 22 of file LocalImageProcessor.php.
canProcessTask | ( | TaskInterface | $task | ) |
Returns TRUE if this processor can process the given task.
TaskInterface | $task |
Implements ProcessorInterface.
Definition at line 45 of file LocalImageProcessor.php.
References TaskInterface\getName(), and TaskInterface\getType().
Referenced by LocalImageProcessor\processTask().
|
protected |
Check if the to be processed target file already exists if exist take info from that file and mark task as done
TaskInterface | $task |
Definition at line 105 of file LocalImageProcessor.php.
References TaskInterface\getConfigurationChecksum(), LocalImageProcessor\getGraphicalFunctionsObject(), TaskInterface\getTargetFile(), TaskInterface\getTargetFileName(), and TaskInterface\setExecuted().
Referenced by LocalImageProcessor\processTask().
|
protected |
Definition at line 182 of file LocalImageProcessor.php.
References GeneralUtility\makeInstance().
Referenced by LocalImageProcessor\checkForExistingTargetFile(), LocalImageProcessor\getTemporaryImageWithText(), and LocalImageProcessor\processTask().
|
protected |
string | $taskName |
\InvalidArgumentException |
Definition at line 142 of file LocalImageProcessor.php.
References GeneralUtility\makeInstance().
Referenced by LocalImageProcessor\processTask().
getTemporaryImageWithText | ( | $filename, | |
$textline1, | |||
$textline2, | |||
$textline3 | |||
) |
Creates error image based on gfx/notfound_thumb.png Requires GD lib enabled, otherwise it will exit with the three textstrings outputted as text. Outputs the image stream to browser and exits!
string | $filename | Name of the file |
string | $textline1 | Text line 1 |
string | $textline2 | Text line 2 |
string | $textline3 | Text line 3 |
\RuntimeException |
Definition at line 172 of file LocalImageProcessor.php.
References $filename, LocalImageProcessor\getGraphicalFunctionsObject(), and GeneralUtility\logDeprecatedFunction().
processTask | ( | TaskInterface | $task | ) |
Processes the given task.
TaskInterface | $task |
\InvalidArgumentException |
Implements ProcessorInterface.
Definition at line 58 of file LocalImageProcessor.php.
References LocalImageProcessor\canProcessTask(), LocalImageProcessor\checkForExistingTargetFile(), elseif, TaskInterface\getConfigurationChecksum(), LocalImageProcessor\getGraphicalFunctionsObject(), LocalImageProcessor\getHelperByTaskName(), TaskInterface\getName(), TaskInterface\getSourceFile(), TaskInterface\getTargetFile(), TaskInterface\getTargetFileName(), TaskInterface\getType(), and TaskInterface\setExecuted().
|
protected |
Definition at line 27 of file LocalImageProcessor.php.