PhysicalLocations
in package

This is the PhysicalLocations class, a macro class for the utilViewHelper.

The purpose of this class is to encapsulate the logic that calculates the view parameters for the util's pagination.

Tags
see
PhysicalLocations::getViewParameters()

Table of Contents

$addAllOption  : bool
$addCitySelector  : bool
$addCountrySelector  : bool
$addPostalCodeSelector  : bool
$addStateSelector  : bool
$changeOptionFunction  : string
$defaultPhysicalLocationId  : int|null
$mapsApiKey  : string|null
$optionClass  : string
$optionName  : string
$physicalLocationFields  : array<string|int, mixed>
$physicalLocations  : ElementCollection|null
$showDirections  : bool
$showInMap  : bool
$showPlacesAutocomplete  : bool
__construct() Constructor method for PhysicalLocations  : mixed
getViewParameters() This method returns all calculated arguments and new parameters for UtilViewHelper.php  : array<string|int, mixed>
getProperties() Return macro use properties  : array<string|int, mixed>
getSelector() Return Select form item  : FormItem

Properties

$physicalLocationFields

public array<string|int, mixed> $physicalLocationFields = ['address', 'postalCode', 'city', 'state', 'country', 'phone', 'email', 'information']

Methods

__construct()

Constructor method for PhysicalLocations

public __construct(array<string|int, mixed> $arguments) : mixed
Parameters
$arguments : array<string|int, mixed>
Tags
see
PhysicalLocations
Return values
mixed

getViewParameters()

This method returns all calculated arguments and new parameters for UtilViewHelper.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>

getSelector()

Return Select form item

protected getSelector(string $name, string $label) : FormItem
Parameters
$name : string
$label : string
Return values
FormItem

Search results