RegionController
Table of Contents
-
$_pSDKWrapper
: SDKWrapper
-
$_regions
: array<string|int, mixed>
-
__construct()
: mixed
-
fetchRegions()
: mixed
-
getParentRegionsByChildRegionKeys()
: array<string|int, mixed>
-
getRegionByKey()
: Region|null
-
getRegions()
: array<string|int, Region>
-
getSDKWrapper()
: SDKWrapper
-
getSubRegionsByParentRegion()
: array<string|int, string>
-
buildBaseRegionElement()
: Region
-
createRegionObjects()
: array<string|int, Region>
-
createRegionObjectsRegionOne()
: array<string|int, mixed>
-
getRegionNamesOfChildRegions()
: array<string|int, string>
$_pSDKWrapper
private
SDKWrapper
$_pSDKWrapper
= null
$_regions
private
array<string|int, mixed>
$_regions
= []
__construct()
public
__construct([bool $init = true ][, SDKWrapper $pSDKWrapper = null ]) : mixed
Parameters
-
$init
: bool
= true
-
-
$pSDKWrapper
: SDKWrapper
= null
-
Return values
mixed
—
fetchRegions()
public
fetchRegions() : mixed
-
throws
-
ApiClientException
Return values
mixed
—
getParentRegionsByChildRegionKeys()
public
getParentRegionsByChildRegionKeys(array<string|int, mixed> $childRegions) : array<string|int, mixed>
Parameters
-
$childRegions
: array<string|int, mixed>
-
-
throws
-
ApiClientException
Return values
array<string|int, mixed>
—
getRegionByKey()
public
getRegionByKey(string $key[, Region $pParentRegion = null ]) : Region|null
Parameters
-
$key
: string
-
-
$pParentRegion
: Region
= null
-
Return values
Region|null
—
getRegions()
public
getRegions() : array<string|int, Region>
Return values
array<string|int, Region>
—
getSDKWrapper()
public
getSDKWrapper() : SDKWrapper
Return values
SDKWrapper
—
getSubRegionsByParentRegion()
public
getSubRegionsByParentRegion(string $key) : array<string|int, string>
Parameters
-
$key
: string
-
Return values
array<string|int, string>
—
buildBaseRegionElement()
private
buildBaseRegionElement(array<string|int, mixed> $elements) : Region
Parameters
-
$elements
: array<string|int, mixed>
-
Return values
Region
—
createRegionObjects()
private
createRegionObjects(array<string|int, mixed> $regionList, Region|null $pParent) : array<string|int, Region>
Parameters
-
$regionList
: array<string|int, mixed>
-
-
$pParent
: Region|null
-
Return values
array<string|int, Region>
—
createRegionObjectsRegionOne()
private
createRegionObjectsRegionOne(array<string|int, mixed> $regionList) : array<string|int, mixed>
Parameters
-
$regionList
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
—
getRegionNamesOfChildRegions()
private
getRegionNamesOfChildRegions(Region $pRegion) : array<string|int, string>
Parameters
-
$pRegion
: Region
-
Return values
array<string|int, string>
—