Back to Opencart

Class Opencart\Admin\Model\Sale\VoucherTheme

docs/api/Opencart.Admin.Model.Sale.VoucherTheme.html

4.1.0.35.3 KB
Original Source

Namespaces

Classes

Class Opencart[Admin](http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.html)\[Model](http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.html)\[Sale](http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.Sale.html)\[VoucherTheme](http://localhost\opencart-master/docs/api/Opencart.Admin.Model.Sale.VoucherTheme.html)

| extends | Model |

Class Voucher Theme

Located at admin\model\sale\voucher_theme.php

Methods
`
public

			` | `addVoucherTheme(array<string, mixed> $data): int`

Add Voucher Theme

Add Voucher Theme

| # | | `

public

			` | `editVoucherTheme(int $voucher_theme_id, array<string, mixed> $data): void`

Edit Voucher Theme

Edit Voucher Theme

| # | | `

public

			` | `deleteVoucherTheme(int $voucher_theme_id): void`

Delete Voucher Theme

Delete Voucher Theme

| # | | `

public

			` | `getVoucherTheme(int $voucher_theme_id): array<string, mixed>`

Get Voucher Theme

Get Voucher Theme

| # | | `

public

			` | `getVoucherThemes(array<string, mixed> $data = []): array<int, array<string, mixed>>`

Get Voucher Themes

Get Voucher Themes

| # | | `

public

			` | `addDescription(int $voucher_theme_id, int $language_id, array<string, mixed> $data): void`

Add Description

Add Description

| # | | `

public

			` | `deleteDescriptions(int $voucher_theme_id): void`

Delete Descriptions

Delete Descriptions

| # | | `

public

			` | `deleteDescriptionsByLanguageId(int $language_id): void`

Delete Descriptions By Language ID

Delete Descriptions By Language ID

| # | | `

public

			` | `getDescriptions(int $voucher_theme_id): array<int, array<string, string>>`

Get Descriptions

Get Descriptions

| # | | `

public

			` | `getDescriptionsByLanguageId(int $language_id): array<int, array<string, string>>`

Get Descriptions By Language ID

Get Descriptions By Language ID

| # | | `

public

			` | `getTotalVoucherThemes(): int`

Get Total Voucher Themes

Get Total Voucher Themes

| # |

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