Back to Opencart

Class Opencart\Admin\Model\Localisation\GeoZone

docs/api/Opencart.Admin.Model.Localisation.GeoZone.html

4.1.0.36.5 KB
Original Source

Namespaces

Classes

Class Opencart[Admin](http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.html)\[Model](http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.html)\[Localisation](http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.Localisation.html)\[GeoZone](http://localhost\opencart-master/docs/api/Opencart.Admin.Model.Localisation.GeoZone.html)

| extends | Model |

Class GeoZone

Located at admin\model\localisation\geo_zone.php

Methods
`
public

			` | `addGeoZone(array<string, mixed> $data): int`

Add Geo Zone

Add Geo Zone

| # | | `

public

			` | `editGeoZone(int $geo_zone_id, array<string, mixed> $data): void`

Edit Geo Zone

Edit Geo Zone

| # | | `

public

			` | `deleteGeoZone(int $geo_zone_id): void`

Delete Geo Zone

Delete Geo Zone

| # | | `

public

			` | `getGeoZone(int $geo_zone_id): array<string, mixed>`

Get Geo Zone

Get Geo Zone

| # | | `

public

			` | `getGeoZones(array<string, mixed> $data = []): array<int, array<string, mixed>>`

Get Geo Zones

Get Geo Zones

| # | | `

public

			` | `getTotalGeoZones(): int`

Get Total Geo Zones

Get Total Geo Zones

| # | | `

public

			` | `addZone(int $geo_zone_id, array<string, mixed> $data): void`

Add Zone

Add Zone

| # | | `

public

			` | `deleteZones(int $geo_zone_id): void`

Delete Zones

Delete Zones

| # | | `

public

			` | `getZones(int $geo_zone_id): array<int, array<string, mixed>>`

Get Zones

Get Zones

| # | | `

public

			` | `getTotalZones(int $geo_zone_id): int`

Get Total Zones

Get Total Zones

| # | | `

public

			` | `getTotalZonesByCountryId(int $country_id): int`

Get Total Zones By Country ID

Get Total Zones By Country ID

| # | | `

public

			` | `getTotalZonesByZoneId(int $zone_id): int`

Get Total Zones By Zone ID

Get Total Zones By Zone ID

| # |

Methods inherited from Opencart\System\Engine\Model
__construct(),__get(), __set(),__isset()
Properties inherited from Opencart\System\Engine\Model
$registry

OpenCart API API documentation generated by ApiGen dev-master