3declare(strict_types=1);
48 static::EVENT_SETTINGS_CHANGED,
50 static::CATEGORY_COLLAB,
59 analyticsEvent: $analyticsEvent,
61 section: static::SECTION_EDITOR,
69 static::EVENT_USER_ADDED,
71 static::CATEGORY_COLLAB,
75 analyticsEvent: $analyticsEvent,
76 section: static::SECTION_EDITOR,
77 params: $this->getParameters(
$userId, $collabId),
84 static::EVENT_USER_DELETED,
86 static::CATEGORY_COLLAB,
90 analyticsEvent: $analyticsEvent,
91 section: static::SECTION_EDITOR,
92 params: $this->getParameters(
$userId, $collabId),
105 if ($user->isIntranet())
107 return 'user_intranet';
110 if ($user->isCollaber())
112 return 'user_collaber';
115 return 'user_extranet';
120 return 'collabId_' . $collabId;
128 private function getParameters(
int $userId,
int $collabId):
array
139 static::EVENT_COPY_LINK,
140 static::TOOL_INVITATION,
141 static::CATEGORY_INVITATION,
151 analyticsEvent: $analyticsEvent,
152 section: static::SECTION_COLLAB,
160 static::EVENT_INVITATION,
161 static::TOOL_INVITATION,
162 static::CATEGORY_INVITATION,
172 analyticsEvent: $analyticsEvent,
174 section: static::SECTION_COLLAB,
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
onMemberAdded(int $userId, int $collabId)
onSettingsChanged(int $userId, int $collabId, string $optionName)
onMemberDeleted(int $userId, int $collabId)
onUserInvitation(int $userId, int $collabId, string $type)
const EVENT_SETTINGS_CHANGED
getUserTypeParameter(int $userId)
getCollabParameter(int $collabId)
onCopyLink(int $userId, int $collabId)
onOwnerChanged(int $userId, int $collabId)
const CATEGORY_INVITATION
getUserParameter(int $userId)
onModeratorChanged(int $userId, int $collabId)
sendAnalytics(AnalyticsEvent $analyticsEvent, ?string $type=null, ?string $section=null, ?string $element=null, ?string $subSection=null, bool $status=true, array $params=[],)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)