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