FlexSheet

final readonly class \TYPO3\CMS\Core\Schema\Struct\FlexSheet

FlexForms are always separated in sheets, "sDEF" being the default sheet if no sheets are defined.

Each sheet contains fields OR Section Containers (defined by

1
) which then could also contain fields.

Table of Contents

Methods

__construct()  : mixed
__set_state()  : self
getField()  : FieldTypeInterface
getFields()  : FieldCollection
getSections()  : array
hasField()  : bool

Methods

__construct()

public __construct(string $sheetIdentifier, string $title, string $description, FieldCollection $fields, array $sections) : mixed

Parameters

$sheetIdentifier : string
$title : string
$description : string
$fields : FieldCollection
$sections : array

__set_state()

public static __set_state(array $state) : self

Parameters

$state : array

Return values

self

getSections()

public getSections() : array

Return values

array

hasField()

public hasField(string $fieldName) : bool

Parameters

$fieldName : string

Return values

bool
On this page