‪TYPO3CMS  10.4
ImagePreviewTask.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
22 {
26  protected ‪$type = 'Image';
27 
31  protected ‪$name = 'Preview';
32 
38  public function ‪getTargetFileName()
39  {
40  return 'preview_' . parent::getTargetFilename();
41  }
42 
49  protected function ‪isValidConfiguration(array ‪$configuration)
50  {
55  }
56 
64  public function ‪fileNeedsProcessing()
65  {
66  // @todo Implement fileNeedsProcessing() method.
67 
72  }
73 }
‪TYPO3\CMS\Core\Resource\Processing\ImagePreviewTask\getTargetFileName
‪string getTargetFileName()
Definition: ImagePreviewTask.php:36
‪TYPO3\CMS\Core\Resource\Processing\AbstractGraphicalTask
Definition: AbstractGraphicalTask.php:26
‪TYPO3\CMS\Core\Resource\Processing
Definition: AbstractGraphicalTask.php:16
‪TYPO3\CMS\Core\Resource\Processing\ImagePreviewTask\isValidConfiguration
‪isValidConfiguration(array $configuration)
Definition: ImagePreviewTask.php:47
‪TYPO3\CMS\Core\Resource\Processing\ImagePreviewTask
Definition: ImagePreviewTask.php:22
‪TYPO3\CMS\Core\Resource\Processing\ImagePreviewTask\$type
‪string $type
Definition: ImagePreviewTask.php:25
‪TYPO3\CMS\Core\Resource\Processing\ImagePreviewTask\$name
‪string $name
Definition: ImagePreviewTask.php:29
‪TYPO3\CMS\Core\Resource\Processing\AbstractTask\$configuration
‪array $configuration
Definition: AbstractTask.php:46
‪TYPO3\CMS\Core\Resource\Processing\ImagePreviewTask\fileNeedsProcessing
‪fileNeedsProcessing()
Definition: ImagePreviewTask.php:62