FormViewHelper
        
        extends ViewHelper
    
    
            
            in package
            
        
    
    
    
        
            This is the FormViewHelper class.
The purpose of this class is to facilitate to Twig the generation of a form's view output (providing some useful methods).
This class extends ViewHelper, see this class.
Tags
Table of Contents
| $languageSheet | : Language|null | |
|---|---|---|
| $session | : Session|null | |
| $theme | : Theme|null | |
| __construct() | : mixed | |
| getApplicationTaxesIncluded() | This method returns the setting of 'show taxes included'. | : bool | 
| legalCheckMacro() | This method merges the given arguments, calculates and returns the view parameters for the legalCheck. | : array<string|int, mixed> | 
| mergeArguments() | This method merges macro arguments with macro associated class properties by reference. | : void | 
Properties
$languageSheet
    protected
        Language|null
    $languageSheet
     = null
        
        
    
$session
    protected
        Session|null
    $session
     = null
        
        
    
$theme
    protected
        Theme|null
    $theme
     = null
        
        
    
Methods
__construct()
    public
                __construct(Language $languageSheet, Theme $theme, Session|null $session) : mixed
        
        Parameters
Return values
mixed —getApplicationTaxesIncluded()
This method returns the setting of 'show taxes included'.
    public
            static    getApplicationTaxesIncluded() : bool
    
    
    
        Return values
bool —legalCheckMacro()
This method merges the given arguments, calculates and returns the view parameters for the legalCheck.
    public
                legalCheckMacro([array<string|int, mixed> $arguments = [] ]) : array<string|int, mixed>
        The array keys of the returned parameters are:
- checkboxPosition
- showCheck
Parameters
- $arguments : array<string|int, mixed> = []
- 
                    Twig macro arguments 
Return values
array<string|int, mixed> —mergeArguments()
This method merges macro arguments with macro associated class properties by reference.
    public
            static    mergeArguments(mixed &$classObject[, array<string|int, mixed> $arguments = [] ]) : void
    
        Parameters
- $classObject : mixed
- $arguments : array<string|int, mixed> = []