SubscribeForm
in package
This is the SubscribeForm class, a macro class for the blogViewHelper.
The purpose of this class is to encapsulate the logic that calculates the view parameters for the user's SubscribeForm.
Tags
Table of Contents
$disableValidationMessages | : bool | |
---|---|---|
$form | : Form|null | |
$showCaptchaLabel | : bool | |
$showLabel | : bool | |
$showPlaceholder | : bool | |
$useCaptcha | : bool | |
__construct() | Constructor method for SubscribeForm. | : 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
$disableValidationMessages
public
bool
$disableValidationMessages
= true
$form
public
Form|null
$form
= null
$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 SubscribeForm.
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>