# Class Opencart\Admin\Model\Setting\Module

`extends` | `Model`

Class Module

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

Located at admin\model\setting\module.php

Methods
`public` | `addModule(string $code, array<string, mixed> $data): int` Add Module Add Module | #
`public` | `editModule(int $module_id, array<string, mixed> $data): void` Edit Module Edit Module | #
`public` | `deleteModule(int $module_id): void` Delete Module Delete Module | #
`public` | `deleteModulesByCode(string $code): void` Delete Modules By Code Delete Modules By Code | #
`public` | `getModule(int $module_id): array<mixed>` Get Module Get Module | #
`public` | `getModules(): array<int, array<string, mixed>>` Get Modules Get Modules | #
`public` | `getModulesByCode(string $code): array<int, array<string, mixed>>` Get Modules By Code Get Modules By Code | #

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