ZoneGroupRepositoryInterface
interface ZoneGroupRepositoryInterface (View source)
Persistence for group-based zone ownership (zones_groups), the second ownership path beside the direct owner on the zones table.
Methods
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
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