AddressBook
in package
This is the AddressBook 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 address book.
Tags
Table of Contents
SELECT_MODE_BUTTON | = 'selectModeButton' | |
---|---|---|
SELECT_MODE_RADIO | = 'selectModeRadio' | |
$billingAddresses | : ElementCollection|null | |
$selectMode | : string | |
$shippingAddresses | : ElementCollection|null | |
__construct() | Constructor method for Form. | : 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> |
Constants
SELECT_MODE_BUTTON
public
mixed
SELECT_MODE_BUTTON
= 'selectModeButton'
SELECT_MODE_RADIO
public
mixed
SELECT_MODE_RADIO
= 'selectModeRadio'
Properties
$billingAddresses
public
ElementCollection|null
$billingAddresses
= null
$selectMode
public
string
$selectMode
= self::SELECT_MODE_BUTTON
$shippingAddresses
public
ElementCollection|null
$shippingAddresses
= null
Methods
__construct()
Constructor method for Form.
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>