# Class Opencart\Admin\Model\Setting\Extension

`extends` | `Model`

Class Extension

- Opencart\System\Engine\Model
  - Opencart\Admin\Model\Setting\Extension

Located at admin\model\setting\extension.php

Methods
`public` | `getExtensions(): array<int, array<string, mixed>>` Get Extensions Get Extensions | #
`public` | `getExtensionsByType(string $type): array<int, array<string, mixed>>` Get Extensions By Type Get Extensions By Type | #
`public` | `getExtensionByCode(string $type, string $code): array<string, mixed>` Get Extension By Code Get Extension By Code | #
`public` | `getTotalExtensionsByExtension(string $extension): int` Get Total Extensions By Extension Get Total Extensions By Extension | #
`public` | `install(string $type, string $extension, string $code): void` Install Install | #
`public` | `uninstall(string $type, string $code): void` Uninstall Uninstall | #
`public` | `addInstall(array<string, mixed> $data): int` Add Install Add Install | #
`public` | `deleteInstall(int $extension_install_id): void` Delete Install Delete Install | #
`public` | `editStatus(int $extension_install_id, bool $status): void` Edit Status Edit Status | #
`public` | `getInstall(int $extension_install_id): array<string, mixed>` Get Install Get Install | #
`public` | `getInstallByExtensionDownloadId(int $extension_download_id): array<string, mixed>` Get Install By Extension Download ID Get Install By Extension Download ID | #
`public` | `getInstallByCode(string $code): array<string, mixed>` Get Install By Code Get Install By Code | #
`public` | `getInstalls(array<string, mixed> $data = []): array<int, array<string, mixed>>` Get Installs Get Installs | #
`public` | `getTotalInstalls(array<string, mixed> $data = []): int` Get Total Installs Get Total Installs | #
`public` | `addPath(int $extension_install_id, string $path): void` Add Path Add Path | #
`public` | `deletePath(int $extension_path_id): void` Delete Path Delete Path | #
`public` | `getPathsByExtensionInstallId(int $extension_install_id): array<int, array<string, mixed>>` Get Paths By Extension Install ID Get Paths By Extension Install ID | #
`public` | `getPaths(string $path): array<int, array<string, mixed>>` Get Paths Get Paths | #
`public` | `getTotalPaths(string $path): int` Get Total Paths Get Total Paths | #

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