FormResultCollection implements IteratorAggregate, Countable
Aggregates rendering results from multiple FormEngine elements and provides a deduplicated, merged view of all required page assets so they can be registered with the PageRenderer in a single pass.
This is typically in use when a controller allows to edit multiple forms in one request.
This class may change any time or vanish altogether
Table of Contents
Interfaces
- IteratorAggregate
- Countable
Methods
- add() : void
- count() : int
- getAdditionalInlineLanguageLabelFiles() : string[]
- getHtml() : string
- getInlineData() : string[]
- getIterator() : Traversable
- getJavaScriptModules() : JavaScriptModuleInstruction[]
- getStylesheetFiles() : string[]
Methods
add()
public
add(FormResult $result) : void
Parameters
- $result : FormResult
count()
public
count() : int
Return values
intgetAdditionalInlineLanguageLabelFiles()
public
getAdditionalInlineLanguageLabelFiles() : string[]
Return values
string[]getHtml()
public
getHtml() : string
Return values
stringgetInlineData()
public
getInlineData() : string[]
Return values
string[]getIterator()
public
getIterator() : Traversable
Return values
TraversablegetJavaScriptModules()
public
getJavaScriptModules() : JavaScriptModuleInstruction[]
Return values
JavaScriptModuleInstruction[]getStylesheetFiles()
public
getStylesheetFiles() : string[]