# Class Opencart\Catalog\Model\Tool\Upload

`extends` | `Model`

Class Upload

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

Located at catalog\model\tool\upload.php

Methods
`public` | `addUpload(string $name, string $filename): string` Add Upload Add Upload | #
`public` | `getUploadByCode(string $code): array<string, mixed>` Get Upload By Code Get Upload By Code | #

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