\ZoneCore

Summary

Methods
Properties
Constants
getZones()
getIdByName()
delete()
$name
$active
$definition
No constants found
No protected methods found
$webserviceParameters
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name : string

Type

string — Name

$active

$active : boolean

Type

boolean — Zone status

$definition

$definition : 

Type

$webserviceParameters

$webserviceParameters : 

Type

Methods

getZones()

getZones(boolean  $active = false) : array

Get all available geographical zones

Parameters

boolean $active

Returns

array —

Zones

getIdByName()

getIdByName(string  $name) : integer

Get a zone ID from its default language name

Parameters

string $name

Returns

integer —

id_zone

delete()

delete() : boolean

Delete a zone

Returns

boolean —

Deletion result