‪TYPO3CMS  10.4
ModifyIconForResourcePropertiesEvent.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
21 
27 {
31  private ‪$resource;
32 
36  private ‪$size;
37 
41  private ‪$options;
42 
47 
51  private ‪$overlayIdentifier;
52 
54  {
55  $this->resource = ‪$resource;
56  $this->size = ‪$size;
57  $this->options = ‪$options;
58  $this->iconIdentifier = ‪$iconIdentifier;
59  $this->overlayIdentifier = ‪$overlayIdentifier;
60  }
61 
63  {
64  return ‪$this->resource;
65  }
66 
67  public function ‪getSize(): string
68  {
69  return ‪$this->size;
70  }
71 
72  public function ‪getOptions(): array
73  {
74  return ‪$this->options;
75  }
76 
77  public function ‪getIconIdentifier(): ?string
78  {
80  }
81 
82  public function ‪setIconIdentifier(?string ‪$iconIdentifier): void
83  {
84  $this->iconIdentifier = ‪$iconIdentifier;
85  }
86 
87  public function ‪getOverlayIdentifier(): ?string
88  {
90  }
91 
92  public function ‪setOverlayIdentifier(?string ‪$overlayIdentifier): void
93  {
94  $this->overlayIdentifier = ‪$overlayIdentifier;
95  }
96 }
‪TYPO3\CMS\Core\Imaging\Event\ModifyIconForResourcePropertiesEvent\$size
‪string $size
Definition: ModifyIconForResourcePropertiesEvent.php:34
‪TYPO3\CMS\Core\Imaging\Event\ModifyIconForResourcePropertiesEvent\__construct
‪__construct(ResourceInterface $resource, string $size, array $options, ?string $iconIdentifier, ?string $overlayIdentifier)
Definition: ModifyIconForResourcePropertiesEvent.php:48
‪TYPO3\CMS\Core\Imaging\Event\ModifyIconForResourcePropertiesEvent\getSize
‪getSize()
Definition: ModifyIconForResourcePropertiesEvent.php:62
‪TYPO3\CMS\Core\Imaging\Event\ModifyIconForResourcePropertiesEvent\getIconIdentifier
‪getIconIdentifier()
Definition: ModifyIconForResourcePropertiesEvent.php:72
‪TYPO3\CMS\Core\Imaging\Event
Definition: ModifyIconForResourcePropertiesEvent.php:18
‪TYPO3\CMS\Core\Imaging\Event\ModifyIconForResourcePropertiesEvent\$resource
‪ResourceInterface $resource
Definition: ModifyIconForResourcePropertiesEvent.php:30
‪TYPO3\CMS\Core\Imaging\Event\ModifyIconForResourcePropertiesEvent\getResource
‪getResource()
Definition: ModifyIconForResourcePropertiesEvent.php:57
‪TYPO3\CMS\Core\Imaging\Event\ModifyIconForResourcePropertiesEvent
Definition: ModifyIconForResourcePropertiesEvent.php:27
‪TYPO3\CMS\Core\Imaging\Event\ModifyIconForResourcePropertiesEvent\getOverlayIdentifier
‪getOverlayIdentifier()
Definition: ModifyIconForResourcePropertiesEvent.php:82
‪TYPO3\CMS\Core\Imaging\Event\ModifyIconForResourcePropertiesEvent\$options
‪array $options
Definition: ModifyIconForResourcePropertiesEvent.php:38
‪TYPO3\CMS\Core\Imaging\Event\ModifyIconForResourcePropertiesEvent\getOptions
‪getOptions()
Definition: ModifyIconForResourcePropertiesEvent.php:67
‪TYPO3\CMS\Core\Imaging\Event\ModifyIconForResourcePropertiesEvent\setIconIdentifier
‪setIconIdentifier(?string $iconIdentifier)
Definition: ModifyIconForResourcePropertiesEvent.php:77
‪TYPO3\CMS\Core\Imaging\Event\ModifyIconForResourcePropertiesEvent\$overlayIdentifier
‪string null $overlayIdentifier
Definition: ModifyIconForResourcePropertiesEvent.php:46
‪TYPO3\CMS\Core\Resource\ResourceInterface
Definition: ResourceInterface.php:22
‪TYPO3\CMS\Core\Imaging\Event\ModifyIconForResourcePropertiesEvent\setOverlayIdentifier
‪setOverlayIdentifier(?string $overlayIdentifier)
Definition: ModifyIconForResourcePropertiesEvent.php:87
‪TYPO3\CMS\Core\Imaging\Event\ModifyIconForResourcePropertiesEvent\$iconIdentifier
‪string null $iconIdentifier
Definition: ModifyIconForResourcePropertiesEvent.php:42