Exponent v2.7.2

expGeo
in package

This is the class expGeo

Tags
subpackage

Subsystems

Table of Contents

listAllCountriesOnly()  : array<string|int, mixed>
exdoc List all Countries in the Geo Database. Returns an array of country objects.
listAllRegions()  : array<string|int, mixed>
exdoc List all Regions in the Geo Database. Returns an array of regions
listCountriesAndRegions()  : array<string|int, mixed>
exdoc List active Countries and Regions in the Geo Database. Returns a two-tiered array of countries and regions.
listCountriesOnly()  : array<string|int, mixed>
exdoc List active Countries in the Geo Database. Returns an array of country objects.
listRegions()  : array<string|int, mixed>
exdoc List active Regions for a specific Country. Returns an array of region objects.

Methods

listAllCountriesOnly()

exdoc List all Countries in the Geo Database. Returns an array of country objects.

public static listAllCountriesOnly() : array<string|int, mixed>
Tags
node

Subsystems:expGeo

Return values
array<string|int, mixed>

listAllRegions()

exdoc List all Regions in the Geo Database. Returns an array of regions

public static listAllRegions() : array<string|int, mixed>
Tags
node

Subsystems:expGeo

Return values
array<string|int, mixed>

listCountriesAndRegions()

exdoc List active Countries and Regions in the Geo Database. Returns a two-tiered array of countries and regions.

public static listCountriesAndRegions() : array<string|int, mixed>
Tags
node

Subsystems:expGeo

Return values
array<string|int, mixed>

listCountriesOnly()

exdoc List active Countries in the Geo Database. Returns an array of country objects.

public static listCountriesOnly() : array<string|int, mixed>
Tags
node

Subsystems:expGeo

Return values
array<string|int, mixed>

listRegions()

exdoc List active Regions for a specific Country. Returns an array of region objects.

public static listRegions(int $country_id[, null $include_blank = null ]) : array<string|int, mixed>
Parameters
$country_id : int

The id of the country to get regions for

$include_blank : null = null
Tags
node

Subsystems:expGeo

Return values
array<string|int, mixed>

Search results