‪TYPO3CMS  10.4
ConverterDto.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 
24 {
25 
29  protected ‪$formDefinition = [];
30 
34  protected ‪$renderablePathParts = [];
35 
39  protected ‪$formElementIdentifier = '';
40 
45 
49  protected ‪$propertyCollectionName = '';
50 
55 
59  public function ‪__construct(array ‪$formDefinition)
60  {
61  $this->formDefinition = ‪$formDefinition;
62  }
63 
67  public function ‪getFormDefinition(): array
68  {
70  }
71 
77  {
78  $this->formDefinition = ‪$formDefinition;
79  return $this;
80  }
81 
85  public function ‪getRenderablePathParts(): array
86  {
88  }
89 
95  {
96  $this->renderablePathParts = ‪$renderablePathParts;
97  return $this;
98  }
99 
103  public function ‪getFormElementIdentifier(): string
104  {
106  }
107 
113  {
114  $this->formElementIdentifier = ‪$formElementIdentifier;
115  return $this;
116  }
117 
121  public function ‪getPropertyCollectionIndex(): int
122  {
124  }
125 
131  {
132  $this->propertyCollectionIndex = ‪$propertyCollectionIndex;
133  return $this;
134  }
135 
139  public function ‪getPropertyCollectionName(): string
140  {
142  }
143 
149  {
150  $this->propertyCollectionName = ‪$propertyCollectionName;
151  return $this;
152  }
153 
157  public function ‪getPropertyCollectionElementIdentifier(): string
158  {
160  }
161 
167  {
168  $this->propertyCollectionElementIdentifier = ‪$propertyCollectionElementIdentifier;
169  return $this;
170  }
171 }
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters
Definition: AbstractConverter.php:18
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto
Definition: ConverterDto.php:24
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\getRenderablePathParts
‪array getRenderablePathParts()
Definition: ConverterDto.php:79
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\$renderablePathParts
‪array $renderablePathParts
Definition: ConverterDto.php:32
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\$propertyCollectionElementIdentifier
‪string $propertyCollectionElementIdentifier
Definition: ConverterDto.php:48
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\$propertyCollectionIndex
‪int $propertyCollectionIndex
Definition: ConverterDto.php:40
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\$formElementIdentifier
‪string $formElementIdentifier
Definition: ConverterDto.php:36
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\getPropertyCollectionElementIdentifier
‪string getPropertyCollectionElementIdentifier()
Definition: ConverterDto.php:151
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\setPropertyCollectionElementIdentifier
‪ConverterDto setPropertyCollectionElementIdentifier(string $propertyCollectionElementIdentifier)
Definition: ConverterDto.php:160
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\__construct
‪__construct(array $formDefinition)
Definition: ConverterDto.php:53
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\setPropertyCollectionName
‪ConverterDto setPropertyCollectionName(string $propertyCollectionName)
Definition: ConverterDto.php:142
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\setFormDefinition
‪ConverterDto setFormDefinition(array $formDefinition)
Definition: ConverterDto.php:70
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\setFormElementIdentifier
‪ConverterDto setFormElementIdentifier(string $formElementIdentifier)
Definition: ConverterDto.php:106
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\$propertyCollectionName
‪string $propertyCollectionName
Definition: ConverterDto.php:44
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\getPropertyCollectionIndex
‪int getPropertyCollectionIndex()
Definition: ConverterDto.php:115
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\$formDefinition
‪array $formDefinition
Definition: ConverterDto.php:28
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\getFormElementIdentifier
‪string getFormElementIdentifier()
Definition: ConverterDto.php:97
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\getPropertyCollectionName
‪string getPropertyCollectionName()
Definition: ConverterDto.php:133
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\setRenderablePathParts
‪ConverterDto setRenderablePathParts(array $renderablePathParts)
Definition: ConverterDto.php:88
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\setPropertyCollectionIndex
‪ConverterDto setPropertyCollectionIndex(int $propertyCollectionIndex)
Definition: ConverterDto.php:124
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\getFormDefinition
‪array getFormDefinition()
Definition: ConverterDto.php:61