FlexSheet
final readonly class \
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
Internal
This is an experimental implementation and might change until TYPO3 v13 LTS
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
selfgetField()
public
getField(string $fieldName) : FieldTypeInterface
Parameters
- $fieldName : string
Return values
FieldTypeInterfacegetFields()
public
getFields() : FieldCollection
Return values
FieldCollectiongetSections()
public
getSections() : array
Return values
arrayhasField()
public
hasField(string $fieldName) : bool
Parameters
- $fieldName : string