18 public static function pushAdded(mixed $itemId, ...$userIds): void
20 static::pushLastEvent(static::EVENT_ADDED, $itemId, $userIds);
23 public static function pushUpdated(mixed $itemId, ...$userIds): void
25 static::pushLastEvent(static::EVENT_UPDATED, $itemId, $userIds);
28 public static function pushDeleted(mixed $itemId, ...$userIds): void
30 static::pushLastEvent(static::EVENT_DELETED, $itemId, $userIds);
35 $userIds = array_unique(\CBPHelper::flatten($userIds));
41 $command = static::getCommand();
45 "{$command}-{$itemId}-{$eventName}",
48 'eventName' => $eventName,
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
static pushDeleted(mixed $itemId,... $userIds)
static pushLastEvent(string $eventName, mixed $itemId, array $userIds)
static subscribeUser(int $userId)
static pushAdded(mixed $itemId,... $userIds)
static pushUpdated(mixed $itemId,... $userIds)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)