‪TYPO3CMS  9.5
ConverterDto.php
Go to the documentation of this file.
1 <?php
2 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 
22 {
23 
27  protected ‪$formDefinition = [];
28 
32  protected ‪$renderablePathParts = [];
33 
37  protected ‪$formElementIdentifier = '';
38 
43 
47  protected ‪$propertyCollectionName = '';
48 
53 
57  public function ‪__construct(array ‪$formDefinition)
58  {
59  $this->formDefinition = ‪$formDefinition;
60  }
61 
65  public function ‪getFormDefinition(): array
66  {
68  }
69 
75  {
76  $this->formDefinition = ‪$formDefinition;
77  return $this;
78  }
79 
83  public function ‪getRenderablePathParts(): array
84  {
86  }
87 
93  {
94  $this->renderablePathParts = ‪$renderablePathParts;
95  return $this;
96  }
97 
101  public function ‪getFormElementIdentifier(): string
102  {
104  }
105 
111  {
112  $this->formElementIdentifier = ‪$formElementIdentifier;
113  return $this;
114  }
115 
119  public function ‪getPropertyCollectionIndex(): int
120  {
122  }
123 
129  {
130  $this->propertyCollectionIndex = ‪$propertyCollectionIndex;
131  return $this;
132  }
133 
137  public function ‪getPropertyCollectionName(): string
138  {
140  }
141 
147  {
148  $this->propertyCollectionName = ‪$propertyCollectionName;
149  return $this;
150  }
151 
155  public function ‪getPropertyCollectionElementIdentifier(): string
156  {
158  }
159 
165  {
166  $this->propertyCollectionElementIdentifier = ‪$propertyCollectionElementIdentifier;
167  return $this;
168  }
169 }
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters
Definition: AbstractConverter.php:3
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto
Definition: ConverterDto.php:22
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\getRenderablePathParts
‪array getRenderablePathParts()
Definition: ConverterDto.php:77
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\$renderablePathParts
‪array $renderablePathParts
Definition: ConverterDto.php:30
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\$propertyCollectionElementIdentifier
‪string $propertyCollectionElementIdentifier
Definition: ConverterDto.php:46
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\$propertyCollectionIndex
‪int $propertyCollectionIndex
Definition: ConverterDto.php:38
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\$formElementIdentifier
‪string $formElementIdentifier
Definition: ConverterDto.php:34
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\getPropertyCollectionElementIdentifier
‪string getPropertyCollectionElementIdentifier()
Definition: ConverterDto.php:149
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\setPropertyCollectionElementIdentifier
‪ConverterDto setPropertyCollectionElementIdentifier(string $propertyCollectionElementIdentifier)
Definition: ConverterDto.php:158
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\__construct
‪__construct(array $formDefinition)
Definition: ConverterDto.php:51
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\setPropertyCollectionName
‪ConverterDto setPropertyCollectionName(string $propertyCollectionName)
Definition: ConverterDto.php:140
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\setFormDefinition
‪ConverterDto setFormDefinition(array $formDefinition)
Definition: ConverterDto.php:68
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\setFormElementIdentifier
‪ConverterDto setFormElementIdentifier(string $formElementIdentifier)
Definition: ConverterDto.php:104
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\$propertyCollectionName
‪string $propertyCollectionName
Definition: ConverterDto.php:42
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\getPropertyCollectionIndex
‪int getPropertyCollectionIndex()
Definition: ConverterDto.php:113
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\$formDefinition
‪array $formDefinition
Definition: ConverterDto.php:26
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\getFormElementIdentifier
‪string getFormElementIdentifier()
Definition: ConverterDto.php:95
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\getPropertyCollectionName
‪string getPropertyCollectionName()
Definition: ConverterDto.php:131
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\setRenderablePathParts
‪ConverterDto setRenderablePathParts(array $renderablePathParts)
Definition: ConverterDto.php:86
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\setPropertyCollectionIndex
‪ConverterDto setPropertyCollectionIndex(int $propertyCollectionIndex)
Definition: ConverterDto.php:122
‪TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Converters\ConverterDto\getFormDefinition
‪array getFormDefinition()
Definition: ConverterDto.php:59