Korin API

Place
in package
implements Stringable

Read onlyYes
FinalYes

The value of a PLAC: its jurisdictions from the smallest to the largest, "Полтава, Україна".

The same in every version. A part may be empty: its place in the list counts (PLAC.FORM names the parts, a substructure).

Table of Contents

Interfaces

Stringable

Properties

$parts  : array<string|int, mixed>

Methods

__construct()  : mixed
__toString()  : string
name()  : string
The smallest jurisdiction that is named: "Полтава".
of()  : self
"Полтава, Україна", the parts separated by commas; spaces around them are not part of them.
toGedcom()  : string
The PLAC value: the parts separated by ", ".

Properties

$parts

public array<string|int, mixed> $parts

Methods

__construct()

public __construct(array<int, string> $parts) : mixed
Parameters
$parts : array<int, string>

__toString()

public __toString() : string
Return values
string

name()

The smallest jurisdiction that is named: "Полтава".

public name() : string
Return values
string

of()

"Полтава, Україна", the parts separated by commas; spaces around them are not part of them.

public static of(string $value) : self
Parameters
$value : string
Return values
self

toGedcom()

The PLAC value: the parts separated by ", ".

public toGedcom() : string
Return values
string
On this page

Search results