# Class Opencart\Admin\Model\Marketing\Marketing

`extends` | `Model`

Class Marketing

- Opencart\System\Engine\Model
  - Opencart\Admin\Model\Marketing\Marketing

Located at admin\model\marketing\marketing.php

Methods
`public` | `addMarketing(array<string, mixed> $data): int` Add Marketing Add Marketing | #
`public` | `editMarketing(int $marketing_id, array<string, mixed> $data): void` Edit Marketing Edit Marketing | #
`public` | `deleteMarketing(int $marketing_id): void` Delete Marketing Delete Marketing | #
`public` | `getMarketing(int $marketing_id): array<string, mixed>` Get Marketing Get Marketing | #
`public` | `getMarketingByCode(string $code): array<string, mixed>` Get Marketing By Code Get Marketing By Code | #
`public` | `getMarketings(array<string, mixed> $data = []): array<int, array<string, mixed>>` Get Marketing(s) Get Marketing(s) | #
`public` | `getTotalMarketings(array<string, mixed> $data = []): int` Get Total Marketing(s) Get Total Marketing(s) | #
`public` | `deleteReports(int $marketing_id): void` Delete Marketing Reports Delete Marketing Reports | #
`public` | `getReports(int $marketing_id, int $start = 0, int $limit = 10): array<int, array<string, mixed>>` Get Reports Get Reports | #
`public` | `getTotalReports(int $marketing_id): int` Get Total Reports Get Total Reports | #

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