# Class Opencart\Admin\Model\Tool\Upload

`extends` | `Model`

Class Upload

- Opencart\System\Engine\Model
  - Opencart\Admin\Model\Tool\Upload

Located at admin\model\tool\upload.php

Methods
`public` | `addUpload(string $name, string $filename): string` Add Upload Add Upload | #
`public` | `deleteUpload(int $upload_id): void` Delete Upload Delete Upload | #
`public` | `getUpload(int $upload_id): array<string, mixed>` Get Upload Get Upload | #
`public` | `getUploadByCode(string $code): array<string, mixed>` Get Upload By Code Get Upload By Code | #
`public` | `getUploads(array<string, mixed> $data = []): array<int, array<string, mixed>>` Get Uploads Get Uploads | #
`public` | `getTotalUploads(array<string, mixed> $data = []): int` Get Total Uploads Get Total Uploads | #

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