Copied!

LocationUpdateStruct

LocationUpdateStruct.php : 16
Extends ValueObject

This class is used for updating location meta data.

Properties

public $priority

LocationUpdateStruct.php : 23

If set the location priority is changed to the new value.

public int $priority

public $remoteId

LocationUpdateStruct.php : 32

If set the location gets a new remoteId.

public mixed $remoteId

Needs to be a unique Location->remoteId string value.

public $sortField

LocationUpdateStruct.php : 41

If set the sortField is changed.

public mixed $sortField

The sort field specifies which property the child locations should be sorted on. Valid values are found at .

public $sortOrder

LocationUpdateStruct.php : 50

If set the sortOrder is changed.

public mixed $sortOrder

The sort order specifies whether the sort order should be ascending or descending. Valid values are .

Methods

public__construct()

ValueObject.php : 30

Construct object optionally with a set of properties.

public __construct([array<string|int, mixed> $properties = [] ])

Readonly properties values must be set using $properties as they are not writable anymore after object has been created.

Parameters

Name Type Default value Description
$properties array<string|int, mixed> [] -

protectedgetProperties()

ValueObject.php : 50

Function where list of properties are returned.

protected getProperties([array<string|int, mixed> $dynamicProperties = [] ]) : array<string|int, mixed>

Used by attributes(), override to add dynamic properties

Parameters

Name Type Default value Description
$dynamicProperties array<string|int, mixed> []

Additional dynamic properties exposed on the object

Return values

array<string|int, mixed>