Back to Opencart

Class Opencart\Catalog\Model\Account\Download

docs/api/Opencart.Catalog.Model.Account.Download.html

4.1.0.35.2 KB
Original Source

Namespaces

Classes

Class Opencart[Catalog](http://localhost\opencart-master/docs/api/namespace-Opencart.Catalog.html)\[Model](http://localhost\opencart-master/docs/api/namespace-Opencart.Catalog.Model.html)\[Account](http://localhost\opencart-master/docs/api/namespace-Opencart.Catalog.Model.Account.html)\[Download](http://localhost\opencart-master/docs/api/Opencart.Catalog.Model.Account.Download.html)

| extends | Model |

Class Download

Located at catalog\model\account\download.php

Methods
`
public

			` | `getDownload(int $download_id): array<string, mixed>`

Get Download

Get Download

| # | | `

public

			` | `getDownloads(int $start = 0, int $limit = 20): array<int, array<string, mixed>>`

Get Downloads

Get Downloads

| # | | `

public

			` | `getTotalDownloads(): int`

Get Total Downloads

Get Total Downloads

| # | | `

public

			` | `addReport(int $download_id, string $ip, string $country = ''): void`

Add Report

Add Report

| # |

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