SmallNewsletterForm
in package
This is the SmallNewsletterForm 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 smallNewsletter.
Tags
Table of Contents
| $addLegalCheck | : bool | |
|---|---|---|
| $disableValidationMessages | : bool | |
| $form | : Form|null | |
| $hiddeWithLogin | : bool | |
| $showCaptchaLabel | : bool | |
| $showLabel | : bool | |
| $showPlaceholder | : bool | |
| $useCaptcha | : bool | |
| __construct() | Constructor method for SmallNewsletterForm. | : 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> |
Properties
$addLegalCheck
public
bool
$addLegalCheck
= true
$disableValidationMessages
public
bool
$disableValidationMessages
= true
$form
public
Form|null
$form
= null
$hiddeWithLogin
public
bool
$hiddeWithLogin
= true
$showCaptchaLabel
public
bool
$showCaptchaLabel
= false
$showLabel
public
bool
$showLabel
= true
$showPlaceholder
public
bool
$showPlaceholder
= false
$useCaptcha
public
bool
$useCaptcha
= false
Methods
__construct()
Constructor method for SmallNewsletterForm.
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>