3namespace Bitrix\Socialnetwork\Integration\Pull;
5use Bitrix\Socialnetwork\Item\Log;
6use Bitrix\Socialnetwork\Livefeed\Provider;
12 $log = Log::getById($logId);
18 $liveFeedContent = Provider::getContentId($log->getFields());
19 $entityType = $liveFeedContent[
'ENTITY_TYPE'] ??
null;
20 $entityId = $liveFeedContent[
'ENTITY_ID'] ??
null;
27 'CONTENTVIEW' . $entityType .
'-' .
$entityId,
28 'UNICOMMENTS' . $this->getForumEntityType($entityType) .
'_' .
$entityId,
29 'UNICOMMENTSMOBILE' . $this->getForumEntityType($entityType) .
'_' .
$entityId,
36 "TASKS_PROJECTS_$groupId"
40 private function getForumEntityType(
string $entityType): string
42 return match ($entityType)
45 'CALENDAR_EVENT' =>
'EVENT',
getWatchingTagsByLogId(int $logId)
getTasksProjects(int $groupId)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)