FormSetUserFields
extends Element
in package
Uses
ElementTrait, LocationFormFieldsTrait
This is the 'FormSetUserFields' class, a DTO class for the form configuration data.
The items stored in this class will remain immutable (only get methods are available).
This class extends SDK\Core\Dtos\Element, see this class.
Tags
Table of Contents
FIELDS_BY_USER_TYPE | = 'fieldsByUserType' | |
---|---|---|
SHIPPING_FIELDS | = 'shippingFields' | |
getFieldsByUserType() | This method returns the array fields to apply by user type. | : array<string|int, mixed>|null |
getShippingFields() | This method returns the array with the shipping fields. | : FormFieldsSetUser|null |
getSortFilterArrayFieldsByUserType() | This method returns and array with the user types sorted and filtered. | : array<string|int, mixed> |
Constants
FIELDS_BY_USER_TYPE
public
mixed
FIELDS_BY_USER_TYPE
= 'fieldsByUserType'
SHIPPING_FIELDS
public
mixed
SHIPPING_FIELDS
= 'shippingFields'
Methods
getFieldsByUserType()
This method returns the array fields to apply by user type.
public
getFieldsByUserType() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null —getShippingFields()
This method returns the array with the shipping fields.
public
getShippingFields() : FormFieldsSetUser|null
Return values
FormFieldsSetUser|null —getSortFilterArrayFieldsByUserType()
This method returns and array with the user types sorted and filtered.
public
getSortFilterArrayFieldsByUserType([bool $included = true ][, bool $asc = true ]) : array<string|int, mixed>
Parameters
- $included : bool = true
- $asc : bool = true