LoginForm
in package
This is the LoginForm 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 login form.
Tags
Table of Contents
| $basket | : array<string|int, mixed> | |
|---|---|---|
| $form | : Form|null | |
| $lostPasswordRedirect | : string | |
| $redirect | : string | |
| $registerRedirect | : string | |
| $showCaptchaLabel | : bool | |
| $showLabel | : bool | |
| $showPlaceholder | : bool | |
| $useCaptcha | : bool | |
| __construct() | Constructor method for LoginForm | : 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
$basket
public
array<string|int, mixed>
$basket
= []
$form
public
Form|null
$form
= null
$lostPasswordRedirect
public
string
$lostPasswordRedirect
= ''
$redirect
public
string
$redirect
= ''
$registerRedirect
public
string
$registerRedirect
= ''
$showCaptchaLabel
public
bool
$showCaptchaLabel
= false
$showLabel
public
bool
$showLabel
= true
$showPlaceholder
public
bool
$showPlaceholder
= true
$useCaptcha
public
bool
$useCaptcha
= false
Methods
__construct()
Constructor method for LoginForm
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>