GeocodingSearchRequest
in package
FinalYes
Input of the "within X km of" filter point calculation.
text=p[<id>]from the URL (free text or a label picked in the suggester),regionId=p[<id>_r], the region picked in the suggester (null= nothing picked or non-numeric).
Table of Contents
Properties
- $languageId : int
- $preferRegionId : int|null
- $regionId : int|null
- $text : string
Methods
- __construct() : mixed
- parseRegionId() : int|null
- Converts `p[<id>_r]` from the URL to a region id; anything other than a positive integer gives `null`.
Properties
$languageId read-only
public
int
$languageId
$preferRegionId read-only
public
int|null
$preferRegionId
= null
$regionId read-only
public
int|null
$regionId
$text read-only
public
string
$text
Methods
__construct()
public
__construct(string $text, int|null $regionId, int $languageId[, int|null $preferRegionId = null ]) : mixed
Parameters
- $text : string
- $regionId : int|null
- $languageId : int
- $preferRegionId : int|null = null
parseRegionId()
Converts `p[<id>_r]` from the URL to a region id; anything other than a positive integer gives `null`.
public
static parseRegionId(mixed $value) : int|null
Parameters
- $value : mixed