FieldCollection implements ArrayAccess, IteratorAggregate, Countable
Read onlyYes
FinalYes
This is an experimental implementation and might change until TYPO3 v13 LTS
Table of Contents
Interfaces
- ArrayAccess
- IteratorAggregate
- Countable
Properties
- $fieldDefinitions : array<string, FieldTypeInterface>
Methods
- __construct() : mixed
- __set_state() : self
- count() : int
- getIterator() : Traversable|array<string|int, FieldTypeInterface>
- offsetExists() : bool
- offsetGet() : FieldTypeInterface|null
- offsetSet() : void
- offsetUnset() : void
Properties
$fieldDefinitions
protected
array<string, FieldTypeInterface>
$fieldDefinitions
= []
Methods
__construct()
public
__construct([array<string|int, mixed> $fieldDefinitions = [] ]) : mixed
Parameters
- $fieldDefinitions : array<string|int, mixed> = []
__set_state()
public
static __set_state(array<string|int, mixed> $state) : self
Parameters
- $state : array<string|int, mixed>
Return values
selfcount()
public
count() : int
Return values
intgetIterator()
public
getIterator() : Traversable|array<string|int, FieldTypeInterface>
Return values
Traversable|array<string|int, FieldTypeInterface>offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
public
offsetGet(mixed $offset) : FieldTypeInterface|null
Parameters
- $offset : mixed
Return values
FieldTypeInterface|nulloffsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed