docs/api/Opencart.Admin.Model.Setting.Setting.html
| extends | Model |
Class Setting
Located at admin\model\setting\setting.php
| Methods |
|---|
| ` |
public
` | `getSettings(int $store_id = 0): array<int, array<string, mixed>>`
Get Settings
Get Settings
| # | | `
public
` | `getSetting(string $code, int $store_id = 0): array<string, mixed>`
Get Setting
Get Setting
| # | | `
public
` | `editSetting(string $code, array<string, mixed> $data, int $store_id = 0): void`
Edit Setting
Edit Setting
| # | | `
public
` | `deleteSetting(string $code, int $store_id = 0): void`
Delete Setting
Delete Setting
| # | | `
public
` | `deleteSettingsByCode(string $code): void`
Delete Settings By Code
Delete Settings By Code
| # | | `
public
` | `deleteSettingsByStoreId(int $store_id): void`
Delete Settings By Store ID
Delete Settings By Store ID
| # | | `
public
` | `getValue(string $key, int $store_id = 0): string`
Get Value
Get Value
| # | | `
public
` | `editValue(string $code = '', string $key = '', array<mixed>|string $value = '', int $store_id = 0): void`
Edit Value
Edit Value
| # |
| 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