FieldCollection implements ArrayAccess, IteratorAggregate, Countable

Read onlyYes
FinalYes
Internal

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

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
self

count()

public count() : int
Return values
int

offsetExists()

public offsetExists(mixed $offset) : bool
Parameters
$offset : mixed
Return values
bool

offsetSet()

public offsetSet(mixed $offset, mixed $value) : void
Parameters
$offset : mixed
$value : mixed

offsetUnset()

public offsetUnset(mixed $offset) : void
Parameters
$offset : mixed

        
On this page

Search results