FlexFormSchema implements SchemaInterface
Read onlyYes
FinalYes
Table of Contents
Interfaces
- SchemaInterface
- A generic interface for any kind of schema
Methods
- __construct() : mixed
- __set_state() : self
- getField() : FieldTypeInterface|null
- getFields() : FieldCollection
- getName() : string
- getSheets() : array<string|int, mixed>
Methods
__construct()
public
__construct(string $structIdentifier, array<string|int, mixed> $sheets) : mixed
Parameters
- $structIdentifier : string
- $sheets : 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[, string|null $sheetName = null ]) : FieldTypeInterface|null
Parameters
- $fieldName : string
- $sheetName : string|null = null
Return values
FieldTypeInterface|nullgetFields()
public
getFields([callable|null $filterFunction = null ]) : FieldCollection
Parameters
- $filterFunction : callable|null = null
Return values
FieldCollectiongetName()
public
getName() : string
Return values
stringgetSheets()
public
getSheets() : array<string|int, mixed>