3declare(strict_types=1);
5namespace Bitrix\Socialnetwork\Collab\Activity;
7use Bitrix\Main\DI\ServiceLocator;
8use Bitrix\Socialnetwork\Collab\Collab;
9use Bitrix\Socialnetwork\Collab\Control\Activity\Command\DeleteLastActivityCommand;
10use Bitrix\Socialnetwork\Collab\Control\Activity\Command\SetLastActivityCommand;
11use Bitrix\Socialnetwork\Collab\Registry\CollabRegistry;
22 $collab = CollabRegistry::getInstance()->get($collabId);
30 ->setCollabId($collabId);
32 $service = ServiceLocator::getInstance()->get(
'socialnetwork.collab.activity.service');
37 public static function remove(
int $collabId = 0,
array $userIds = []): void
42 $command->setCollabId($collabId);
47 $command->setUserIds($userIds);
50 $service = ServiceLocator::getInstance()->get(
'socialnetwork.collab.activity.service');
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
static execute(int $userId, int $collabId)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)