Package

ViewHelpers

ViewHelper Documentation

flux:form.data

Converts raw flexform xml into an associative array, and applies any transformation that may be configured for fields/objects.

Example: Fetch page configuration inside content element

Since the page variable is available in fluidcontent elements, we can use it to access page configuration data:

<flux:form.data table="pages" field="tx_fed_page_flexform" record="{page}" />

Arguments

table string

Name of table that contains record with Flux field

field string

Name of Flux field in table

uid integer

UID of record to load (used if "record" attribute not used)

record anySimpleType

Record containing Flux field (used if "uid" attribute not used)

as string

Optional name of variable to assign in tag content rendering

ViewHelper Resources

Schema Resources