PickingInformation
in package
This is the PickingInformation class, a macro class for the document viewHelper.
The purpose of this class is to encapsulate the logic that calculates the view parameters for the document's PickingInformation.
Tags
Table of Contents
FIELDS | = ["name", "address", "city", "state", "country", "phone", "email"] | |
---|---|---|
$document | : AbstractDocumentBase|null | |
$fields | : array<string|int, mixed> | |
__construct() | Constructor method for PickingInformation class. | : mixed |
getViewParameters() | This method returns all calculated arguments and new parameters for DocumentViewHelper.php | : array<string|int, mixed> |
getProperties() | Return macro use properties | : array<string|int, mixed> |
Constants
FIELDS
public
mixed
FIELDS
= ["name", "address", "city", "state", "country", "phone", "email"]
Properties
$document
public
AbstractDocumentBase|null
$document
= null
$fields
public
array<string|int, mixed>
$fields
= self::FIELDS
Methods
__construct()
Constructor method for PickingInformation 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 DocumentViewHelper.php
public
getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getProperties()
Return macro use properties
protected
getProperties() : array<string|int, mixed>