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
see
LoginForm::getViewParameters()

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 = []

$lostPasswordRedirect

public string $lostPasswordRedirect = ''

$registerRedirect

public string $registerRedirect = ''

$showCaptchaLabel

public bool $showCaptchaLabel = false

$showPlaceholder

public bool $showPlaceholder = true

Methods

__construct()

Constructor method for LoginForm

public __construct(array<string|int, mixed> $arguments) : mixed
Parameters
$arguments : array<string|int, mixed>
Tags
see
LoginForm
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>
Return values
array<string|int, mixed>

Search results