FormResult
Read onlyYes
FinalYes
Immutable value object carrying the rendering output of a single FormEngine element — its HTML fragment together with all page-level assets (JavaScript modules, stylesheets, language labels) the element needs to function.
Table of Contents
Properties
- $additionalInlineLanguageLabelFiles : array
- $hiddenFieldsHtml : array
- $html : string
- $inlineData : array
- $javaScriptModules : array
- $stylesheetFiles : array
Methods
- __construct() : mixed
Properties
$additionalInlineLanguageLabelFiles
public
array
$additionalInlineLanguageLabelFiles
= []
$hiddenFieldsHtml
since v14.2, will be removed in v15. Add hidden fields to the 'html' key directly.
public
array
$hiddenFieldsHtml
= []
$html
public
string
$html
$inlineData
public
array
$inlineData
= []
$javaScriptModules
public
array
$javaScriptModules
= []
$stylesheetFiles
public
array
$stylesheetFiles
= []
Methods
__construct()
public
__construct(string $html[, array $javaScriptModules = [] ][, array $stylesheetFiles = [] ][, array $inlineData = [] ][, array $additionalInlineLanguageLabelFiles = [] ][, array $hiddenFieldsHtml = [] ]) : mixed
Parameters
- $html : string
- $javaScriptModules : array = []
- $stylesheetFiles : array = []
- $inlineData : array = []
- $additionalInlineLanguageLabelFiles : array = []
- $hiddenFieldsHtml : array = []