# Class Opencart\Admin\Model\Extension\Opencart\Report\ProductViewed

`extends` | `Model`

Class ProductViewed

- Opencart\System\Engine\Model
  - Opencart\Admin\Model\Extension\Opencart\Report\ProductViewed

Located at extension\opencart\admin\model\report\product_viewed.php

Methods
`public` | `install(): void` Install Install | #
`public` | `uninstall(): void` Uninstall Uninstall | #
`public` | `addReport(int $product_id, int $viewed): void` Add Report Add Report | #
`public` | `getViewed(int $start = 0, int $limit = 10): array<int, array<string, mixed>>` Get Viewed Get Viewed | #
`public` | `getTotalViewed(): int` Get Total Viewed Get Total Viewed | #
`public` | `getTotal(): int` Get Total Get Total | #
`public` | `clear(): void` Clear Clear | #

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