# Class Opencart\Admin\Model\User\UserGroup

`extends` | `Model`

Class User Group

- Opencart\System\Engine\Model
  - Opencart\Admin\Model\User\UserGroup

Located at admin\model\user\user_group.php

Methods
`public` | `addUserGroup(array<string, mixed> $data): int` Add User Group Add User Group | #
`public` | `editUserGroup(int $user_group_id, array<string, mixed> $data): void` Edit User Group Edit User Group | #
`public` | `deleteUserGroup(int $user_group_id): void` Delete User Group Delete User Group | #
`public` | `getUserGroup(int $user_group_id): array<string, mixed>` Get User Group Get User Group | #
`public` | `getUserGroups(array<string, mixed> $data = []): array<int, array<string, mixed>>` Get User Groups Get User Groups | #
`public` | `getTotalUserGroups(): int` Get Total User Groups Get Total User Groups | #
`public` | `addPermission(int $user_group_id, string $type, string $route): void` Add Permission Add Permission | #
`public` | `removePermission(int $user_group_id, string $type, string $route): void` Remove Permission Remove Permission | #

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