LocationParametersGroup
extends ParametersGroup
in package
This is the geolocation model (locations resource) parameters group class.
Table of Contents
$countryCode | : string | |
---|---|---|
$languageCode | : string | |
$parentId | : int | |
$validator | : ParametersValidator | |
setCountryCode() | Sets the country ISO code parameter for this parameters group. | : void |
setLanguageCode() | Sets the language ISO code parameter for this parameters group. | : void |
setParentId() | Sets the parent internal identifier parameter for this parameters group. | : void |
toArray() | Returns the object data on array format. | : array<string|int, mixed> |
filter() | : array<string|int, mixed> | |
getInstantiatedValidator() | : ParametersValidator | |
getValidator() | : LocationParametersValidator |
Properties
$countryCode
protected
string
$countryCode
$languageCode
protected
string
$languageCode
$parentId
protected
int
$parentId
$validator
protected
ParametersValidator
$validator
Methods
setCountryCode()
Sets the country ISO code parameter for this parameters group.
public
setCountryCode(string $countryCode) : void
Parameters
- $countryCode : string
Return values
void —setLanguageCode()
Sets the language ISO code parameter for this parameters group.
public
setLanguageCode(string $languageCode) : void
Parameters
- $languageCode : string
Return values
void —setParentId()
Sets the parent internal identifier parameter for this parameters group.
public
setParentId(int $parentId) : void
Parameters
- $parentId : int
Return values
void —toArray()
Returns the object data on array format.
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —filter()
protected
filter(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
Return values
array<string|int, mixed> —getInstantiatedValidator()
protected
getInstantiatedValidator() : ParametersValidator
Return values
ParametersValidator —getValidator()
protected
getValidator() : LocationParametersValidator