docs/api/Opencart.Admin.Model.Localisation.LengthClass.html
| extends | Model |
Class Length Class
Located at admin\model\localisation\length_class.php
| Methods |
|---|
| ` |
public
` | `addLengthClass(array<string, mixed> $data): int`
Add Length Class
Add Length Class
| # | | `
public
` | `editLengthClass(int $length_class_id, array<string, mixed> $data): void`
Edit Length Class
Edit Length Class
| # | | `
public
` | `deleteLengthClass(int $length_class_id): void`
Delete Length Class
Delete Length Class
| # | | `
public
` | `deleteLengthClassesByLanguageId(int $language_id): void`
Delete Length Classes By Language ID
Delete Length Classes By Language ID
| # | | `
public
` | `getLengthClasses(array<string, mixed> $data = []): array<int, array<string, mixed>>`
Get Length Classes
Get Length Classes
| # | | `
public
` | `getLengthClass(int $length_class_id): array<string, mixed>`
Get Length Class
Get Length Class
| # | | `
public
` | `addDescription(int $length_class_id, int $language_id, array<string, mixed> $data): void`
Add Description
Add Description
| # | | `
public
` | `deleteDescriptions(int $length_class_id): void`
Delete Description
Delete Description
| # | | `
public
` | `deleteDescriptionsByLanguageId(int $language_id): void`
Delete Descriptions By Language ID
Delete Descriptions By Language ID
| # | | `
public
` | `getDescriptions(int $length_class_id): array<int, array<string, mixed>>`
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
` | `getDescriptionByUnit(string $unit): array<string, mixed>`
Get Description By Unit
Get Description By Unit
| # | | `
public
` | `getTotalLengthClasses(): int`
Get Total Length Classes
Get Total Length Classes
| # |
| 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