3namespace Bitrix\Socialnetwork\Control\Member\Trait;
5use Bitrix\Main\Type\Collection;
6use Bitrix\Socialnetwork\UserToGroupTable;
10 protected function getMemberIds(
int $groupId, ?
string $role =
null):
array
12 $query = UserToGroupTable::query()
13 ->setSelect([
'USER_ID'])
14 ->where(
'GROUP_ID', $groupId)
19 $query->setFilter([
'ROLE' => $role]);
24 $memberIds = array_column(
$rows,
'USER_ID');
26 Collection::normalizeArrayValuesByInt($memberIds,
false);
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)