docs/api/Opencart.Admin.Model.Extension.Opencart.Report.ProductViewed.html
| extends | Model |
Class 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