# Class Opencart\Admin\Model\Localisation\Language

`extends` | `Model`

Class Language

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

Located at admin\model\localisation\language.php

Methods
`public` | `addLanguage(array<string, mixed> $data): int` Add Language Add Language | #
`public` | `editLanguage(int $language_id, array<string, mixed> $data): void` Edit Language Edit Language | #
`public` | `deleteLanguage(int $language_id): void` Delete Language Delete Language | #
`public` | `getLanguage(int $language_id): array<string, mixed>` Get Language Get Language | #
`public` | `getLanguageByCode(string $code): array<string, mixed>` Get Language By Code Get Language By Code | #
`public` | `getLanguages(array<string, mixed> $data = []): array<string, array<string, mixed>>` Get Languages Get Languages | #
`public` | `getLanguagesByExtension(string $extension): array<int, array<string, mixed>>` Get Languages By Extension Get Languages By Extension | #
`public` | `getTotalLanguages(): int` Get Total Languages Get Total Languages | #

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