# Class Opencart\Admin\Model\Catalog\AttributeGroup

`extends` | `Model`

Class Attribute Group

- Opencart\System\Engine\Model
  - Opencart\Admin\Model\Catalog\AttributeGroup

Located at admin\model\catalog\attribute_group.php

Methods
`public` | `addAttributeGroup(array<string, mixed> $data): int` Add Attribute Group Add Attribute Group | #
`public` | `editAttributeGroup(int $attribute_group_id, array<string, mixed> $data): void` Edit Attribute Group Edit Attribute Group | #
`public` | `deleteAttributeGroup(int $attribute_group_id): void` Delete Attribute Group Delete Attribute Group | #
`public` | `getAttributeGroup(int $attribute_group_id): array<string, mixed>` Get Attribute Group Get Attribute Group | #
`public` | `getAttributeGroups(array<string, mixed> $data = []): array<int, array<string, mixed>>` Get Attribute Groups Get Attribute Groups | #
`public` | `getTotalAttributeGroups(): int` Get Total Attribute Groups Get Total Attribute Groups | #
`public` | `addDescription(int $attribute_group_id, int $language_id, array<string, mixed> $data): void` Add Description Add Description | #
`public` | `deleteDescriptions(int $attribute_group_id): void` Delete Descriptions Delete Descriptions #### Parameters
$attribute_group_id | primary key of the attribute record to be fetched
| #
`public` | `deleteDescriptionsByLanguageId(int $language_id): void` Delete Descriptions By Language ID Delete Descriptions By Language ID | #
`public` | `getDescriptions(int $attribute_group_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 | #

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