Documentation · ViewHelper reference

Pipe / TypeConverterViewHelper

Type Converter Outlet Pipe ViewHelper

Adds a TypeConverterPipe to the Form's Outlet. /

  • Tag usage example

    <flux:pipe.typeConverter direction="'out'" targetType="NULL" typeConverter="[mixed]">
    	<!-- tag content - may be ignored! -->
    </flux:pipe.typeConverter>
  • Inline usage example

    {flux:pipe.typeConverter(direction: ''out'', targetType: 'NULL', typeConverter: [mixed])}

Arguments

Argument Description Type
direction

Which endpoint to attach the Pipe to - either "in" or "out". See documentation about Outlets and Pipes

string
targetType

Target type (class name, integer, array, etc.)

string
typeConverter

Class or instance of type converter. Can be a short name of a system type converter, minus "Converter" suffix, e.g. PersistentObject, Array etc.

mixed
Required attribute

Revision history