DbZoneGroupRepository
class DbZoneGroupRepository implements ZoneGroupRepositoryInterface (View source)
Methods
__construct(PDO $db, ConfigurationInterface|null $config = null, bool $isApiBackend = false)
No description
array
findByDomainId(int $domainId)
Find all groups that own a zone
array
findGroupIdsByDomainIds(array $domainIds)
Owning groups of several zones in one query, for list pages.
array
findByGroupId(int $groupId)
Find all zones owned by a group
bool
remove(int $domainId, int $groupId)
Remove a group from zone owners
bool
exists(int $domainId, int $groupId)
Check if a group owns a zone
Details
__construct(PDO $db, ConfigurationInterface|null $config = null, bool $isApiBackend = false)
No description
array
findByDomainId(int $domainId)
Find all groups that own a zone
array
findGroupIdsByDomainIds(array $domainIds)
Owning groups of several zones in one query, for list pages.
array
findByGroupId(int $groupId)
Find all zones owned by a group
ZoneGroup
add(int $domainId, int $groupId)
Add a group as zone owner
bool
remove(int $domainId, int $groupId)
Remove a group from zone owners
bool
exists(int $domainId, int $groupId)
Check if a group owns a zone