LegalCheck
in package
This is the LegalCheck class, a macro class for the userViewHelper.
The purpose of this class is to encapsulate the logic that calculates the view parameters for the user's legal check.
Tags
Table of Contents
CHECKBOX_POSITION_AFTER | = 'after' | |
---|---|---|
CHECKBOX_POSITION_BEFORE | = 'before' | |
$checkboxPosition | : string | |
$showCheck | : bool | |
__construct() | Constructor method for LegalCheck | : mixed |
getViewParameters() | This method returns all calculated arguments and new parameters for UserViewHelper.php | : array<string|int, mixed> |
getProperties() | Return macro use properties | : array<string|int, mixed> |
Constants
CHECKBOX_POSITION_AFTER
public
mixed
CHECKBOX_POSITION_AFTER
= 'after'
CHECKBOX_POSITION_BEFORE
public
mixed
CHECKBOX_POSITION_BEFORE
= 'before'
Properties
$checkboxPosition
public
string
$checkboxPosition
= self::CHECKBOX_POSITION_BEFORE
$showCheck
public
bool
$showCheck
= true
Methods
__construct()
Constructor method for LegalCheck
public
__construct(array<string|int, mixed> $arguments) : mixed
Parameters
- $arguments : array<string|int, mixed>
Tags
Return values
mixed —getViewParameters()
This method returns all calculated arguments and new parameters for UserViewHelper.php
public
getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getProperties()
Return macro use properties
protected
getProperties() : array<string|int, mixed>