ComparatorDistrict
extends Comparator
Table of Contents
Constants
-
COUNTRY
= 3
-
DISTRICT
= 1
-
LOCALITY
= 0
-
REGION
= 2
Properties
-
$replacement
: mixed
-
$variants
: mixed
Methods
-
flatten()
: mixed
-
getLocalityNamesArray()
: mixed
-
getReplacement()
: mixed
-
isCountryRussia()
: mixed
-
isEntityEqual()
: mixed
-
isLocationsEqual()
: mixed
-
normalizeEntity()
: mixed
-
setReplacement()
: mixed
-
setVariants()
: mixed
-
setVariantsValues()
: mixed
COUNTRY
public
mixed
COUNTRY
= 3
DISTRICT
public
mixed
DISTRICT
= 1
LOCALITY
public
mixed
LOCALITY
= 0
REGION
public
mixed
REGION
= 2
$replacement
public
static mixed
$replacement
= null
$variants
public
static mixed
$variants
= null
flatten()
public
static flatten(mixed $value) : mixed
Parameters
-
$value
: mixed
-
getLocalityNamesArray()
public
static getLocalityNamesArray(mixed $name, mixed $type) : mixed
Parameters
-
$name
: mixed
-
-
$type
: mixed
-
getReplacement()
public
static getReplacement() : mixed
isCountryRussia()
public
static isCountryRussia(mixed $countryName) : mixed
Parameters
-
$countryName
: mixed
-
isEntityEqual()
public
static isEntityEqual(mixed $entity1, mixed $entity2[, mixed $type = '' ]) : mixed
Parameters
-
$entity1
: mixed
-
-
$entity2
: mixed
-
-
$type
: mixed
= ''
-
isLocationsEqual()
public
static isLocationsEqual(mixed $location1, mixed $location2) : mixed
Parameters
-
$location1
: mixed
-
-
$location2
: mixed
-
normalizeEntity()
public
static normalizeEntity(mixed $name, mixed $type) : mixed
Parameters
-
$name
: mixed
-
-
$type
: mixed
-
setReplacement()
public
static setReplacement([Replacement $replacement = null ]) : mixed
Parameters
-
$replacement
: Replacement
= null
-
setVariants()
public
static setVariants([array<string|int, mixed> $variants = array() ]) : mixed
Parameters
-
$variants
: array<string|int, mixed>
= array()
-
setVariantsValues()
public
static setVariantsValues([array<string|int, mixed> $variants = array() ]) : mixed
Parameters
-
$variants
: array<string|int, mixed>
= array()
-