LocationsPath
in package
This is the LocationsPath 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 change password form.
Tags
Table of Contents
| $city | : string | |
|---|---|---|
| $country | : string | |
| $countryCode | : string | |
| $fieldName | : string|null | |
| $postalCode | : string | |
| $selectedIds | : ElementCollection|null | |
| $state | : string | |
| __construct() | Constructor method for LocationsPath class. | : 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
$city
public
string
$city
= ''
$country
public
string
$country
= ''
$countryCode
public
string
$countryCode
= ''
$fieldName
public
string|null
$fieldName
= ''
$postalCode
public
string
$postalCode
= ''
$selectedIds
public
ElementCollection|null
$selectedIds
= null
$state
public
string
$state
= ''
Methods
__construct()
Constructor method for LocationsPath class.
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>