# Class Opencart\Admin\Model\Catalog\Manufacturer

`extends` | `Model`

Class Manufacturer

- Opencart\System\Engine\Model
  - Opencart\Admin\Model\Catalog\Manufacturer

Located at admin\model\catalog\manufacturer.php

Methods
`public` | `addManufacturer(array<string, mixed> $data): int` Add Manufacturer Add Manufacturer | #
`public` | `editManufacturer(int $manufacturer_id, array<string, mixed> $data): void` Edit Manufacturer Edit Manufacturer | #
`public` | `deleteManufacturer(int $manufacturer_id): void` Delete Manufacturer Delete Manufacturer | #
`public` | `getManufacturer(int $manufacturer_id): array<string, mixed>` Get Manufacturer Get Manufacturer | #
`public` | `getManufacturers(array<string, mixed> $data = []): array<int, array<string, mixed>>` Get Manufacturers Get Manufacturers | #
`public` | `getTotalManufacturers(): int` Get Total Manufacturers Get Total Manufacturers | #
`public` | `addStore(int $manufacturer_id, int $store_id): void` Add Store Add Store | #
`public` | `deleteStores(int $manufacturer_id): void` Delete Stores Delete Stores | #
`public` | `deleteStoresByStoreId(int $store_id): void` Delete Stores By Store ID Delete Stores By Store ID | #
`public` | `getStores(int $manufacturer_id): array<int, int>` Get Stores Get Stores | #
`public` | `addLayout(int $manufacturer_id, int $store_id, int $layout_id): void` Add Layout Add Layout | #
`public` | `deleteLayouts(int $manufacturer_id): void` Delete Layouts Delete Layouts | #
`public` | `deleteLayoutsByLayoutId(int $layout_id): void` Delete Layouts By Layout ID Delete Layouts By Layout ID | #
`public` | `deleteLayoutsByStoreId(int $store_id): void` Delete Layouts By Store ID Delete Layouts By Store ID | #
`public` | `getLayouts(int $manufacturer_id): array<int, int>` Get Layouts Get Layouts | #
`public` | `getTotalLayoutsByLayoutId(int $layout_id): int` Get Total Layouts By Layout ID Get Total Layouts By Layout 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