docs/api/Opencart.Admin.Model.Localisation.Currency.html
| extends | Model |
Class Currency
Located at admin\model\localisation\currency.php
| Methods |
|---|
| ` |
public
` | `addCurrency(array<string, mixed> $data): int`
Add Currency
Add Currency
| # | | `
public
` | `editCurrency(int $currency_id, array<string, mixed> $data): void`
Edit Currency
Edit Currency
| # | | `
public
` | `editValueByCode(string $code, float $value): void`
Edit Value By Code
Edit Value By Code
| # | | `
public
` | `deleteCurrency(int $currency_id): void`
Delete Currency
Delete Currency
| # | | `
public
` | `getCurrency(int $currency_id): array<string, mixed>`
Get Currency
Get Currency
| # | | `
public
` | `getCurrencyByCode(string $currency): array<string, mixed>`
Get Currency By Code
Get Currency By Code
| # | | `
public
` | `getCurrencies(array<string, mixed> $data = []): array<string, array<string, mixed>>`
Get Currencies
Get Currencies
| # | | `
public
` | `getTotalCurrencies(): int`
Get Total Currencies
Get Total Currencies
| # |
| 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