FlexSheet
Read onlyYes
FinalYes
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
Table of Contents
Methods
- __construct() : mixed
- __set_state() : self
- getField() : FieldTypeInterface
- getFields() : FieldCollection
- getSections() : array<string|int, mixed>
- hasField() : bool
Methods
__construct()
public
__construct(string $sheetIdentifier, string $title, string $description, FieldCollection $fields, array<string|int, mixed> $sections) : mixed
Parameters
- $sheetIdentifier : string
- $title : string
- $description : string
- $fields : FieldCollection
- $sections : array<string|int, mixed>
__set_state()
public
static __set_state(array<string|int, mixed> $state) : self
Parameters
- $state : array<string|int, mixed>
Return values
selfgetField()
public
getField(string $fieldName) : FieldTypeInterface
Parameters
- $fieldName : string
Return values
FieldTypeInterfacegetFields()
public
getFields() : FieldCollection
Return values
FieldCollectiongetSections()
public
getSections() : array<string|int, mixed>
Return values
array<string|int, mixed>hasField()
public
hasField(string $fieldName) : bool
Parameters
- $fieldName : string