FormData

final readonly class \TYPO3\CMS\Form\Domain\DTO\FormData

FormData - Complete form definition DTO Used for read/write operations with full form structure

Table of Contents

Properties

$finishers  : array
$identifier  : string
$name  : string
$prototypeName  : string
$renderables  : array
$renderingOptions  : array
$type  : string
$variants  : array

Methods

__construct()  : mixed
fromArray()  : self
toArray()  : array

Properties

$prototypeName

public string $prototypeName

$renderingOptions

public array $renderingOptions

Methods

__construct()

public __construct(string $identifier, string $type, string $name, string $prototypeName, array $renderingOptions, array $finishers, array $renderables, array $variants) : mixed

Parameters

$identifier : string
$type : string
$name : string
$prototypeName : string
$renderingOptions : array
$finishers : array
$renderables : array
$variants : array

fromArray()

public static fromArray(array $data) : self

Parameters

$data : array

Return values

self

toArray()

public toArray() : array

Return values

array
On this page