3namespace Bitrix\Socialnetwork\Space\List\RecentActivity\Item;
5use Bitrix\Main\Type\Contract\Arrayable;
6use Bitrix\Main\Type\DateTime;
10 private ?
int $id =
null;
13 private ?
string $typeId =
null;
14 private ?
int $entityId =
null;
16 private ?
string $description =
'';
17 private ?
int $secondaryEntityId =
null;
19 public function setId(?
int $id): self
33 $this->spaceId = $spaceId;
40 return $this->spaceId;
45 $this->userId = $userId;
57 $this->typeId = $typeId;
69 $this->entityId = $entityId;
81 $this->dateTime = $dateTime;
88 return $this->dateTime;
93 $this->description = $description;
105 $this->secondaryEntityId = $secondaryEntityId;
112 return $this->secondaryEntityId;
118 'spaceId' => $this->spaceId,
120 'typeId' => $this->typeId,
122 'secondaryEntityId' => $this->secondaryEntityId,
123 'timestamp' => $this->dateTime?->getTimestamp(),
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
setEntityId(?int $entityId)
setDateTime(?DateTime $dateTime)
setSecondaryEntityId(?int $secondaryEntityId)
setDescription(?string $description)
setTypeId(?string $typeId)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
if(Loader::includeModule( 'bitrix24')) elseif(Loader::includeModule('intranet') &&CIntranetUtils::getPortalZone() !=='ru') $description