FlexFormFieldValues

class \TYPO3\CMS\Core\Domain\FlexFormFieldValues

Implements
ContainerInterface, ArrayAccess

Represents a record's flex form field values.

Table of Contents

Interfaces

ContainerInterface
ArrayAccess

Properties

$sheets  : array

Methods

__construct()  : mixed
get()  : mixed
getSheets()  : array
Getter to be used in fluid for accessing field values
has()  : bool
offsetExists()  : bool
offsetGet()  : mixed
offsetSet()  : void
offsetUnset()  : void
toArray()  : array
findSheetsContainingPropertyPath()  : array<int, string>
getFromSheet()  : mixed
hasMultipleSheets()  : bool
mergePropertyValues()  : array
Merges the values of a property path, which exists in multiple sheets, recursively.
processId()  : array
resolveRecordPropertyClosure()  : mixed

Properties

Methods

__construct()

public __construct(array $sheets) : mixed

Parameters

$sheets : array

get()

public get(string $id) : mixed

Parameters

$id : string

getSheets()

Getter to be used in fluid for accessing field values

public getSheets() : array

Return values

array

has()

public has(string $id) : bool

Parameters

$id : string

Return values

bool

offsetExists()

public offsetExists(mixed $offset) : bool

Parameters

$offset : mixed

Return values

bool

offsetGet()

public offsetGet(mixed $offset) : mixed

Parameters

$offset : mixed

offsetSet()

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

Parameters

$offset : mixed
$value : mixed

offsetUnset()

public offsetUnset(mixed $offset) : void

Parameters

$offset : mixed

toArray()

public toArray() : array

Return values

array

findSheetsContainingPropertyPath()

protected findSheetsContainingPropertyPath(string $propertyPath) : array<int, string>

Parameters

$propertyPath : string

Return values

array<int, string>

getFromSheet()

protected getFromSheet(string $sheetName, string $propertyPath) : mixed

Parameters

$sheetName : string
$propertyPath : string

hasMultipleSheets()

protected hasMultipleSheets() : bool

Return values

bool

mergePropertyValues()

Merges the values of a property path, which exists in multiple sheets, recursively.

protected mergePropertyValues(string $propertyPath, array $propertyValues) : array

This is only possible for groups of properties (non-empty associative arrays, created from dotted field names) whose properties are distinct. Any other value, e.g. a list or a single value, exists in more than one sheet and is therefore ambiguous.

Parameters

$propertyPath : string
$propertyValues : array

Return values

array

processId()

protected processId(string $id) : array

Parameters

$id : string

Return values

array

resolveRecordPropertyClosure()

protected resolveRecordPropertyClosure(string $id, mixed $propertyValue) : mixed

Parameters

$id : string
$propertyValue : mixed
On this page