# Class Opencart\Admin\Model\Localisation\Country

`extends` | `Model`

Class Country

- Opencart\System\Engine\Model
  - Opencart\Admin\Model\Localisation\Country

Located at admin\model\localisation\country.php

Methods
`public` | `addCountry(array<string, mixed> $data): int` Add Country Add Country | #
`public` | `editCountry(int $country_id, array<string, mixed> $data): void` Edit Country Edit Country | #
`public` | `deleteCountry(int $country_id): void` Delete Country Delete Country | #
`public` | `getCountry(int $country_id): array<string, mixed>` Get Country Get Country | #
`public` | `getCountryByIsoCode2(string $iso_code_2): array<string, mixed>` Get Country By Iso Code 2 Get Country By Iso Code 2 | #
`public` | `getCountryByIsoCode3(string $iso_code_3): array<string, mixed>` Get Country By Iso Code 3 Get Country By Iso Code 3 | #
`public` | `getCountries(array<string, mixed> $data = []): array<int, array<string, mixed>>` Get Countries Get Countries | #
`public` | `getTotalCountries(array<string, mixed> $data = []): int` Get Total Countries Get Total Countries | #
`public` | `getTotalCountriesByAddressFormatId(int $address_format_id): int` Get Total Countries By Address Format ID Get Total Countries By Address Format 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