1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
AfterEventCategoryCreate.php
См. документацию.
1<?php
2
3namespace Bitrix\Calendar\EventCategory\Event;
4
5use Bitrix\Calendar\EventCategory\Enum\EventType;
6use Bitrix\Calendar\Internals\EventManager\BaseEvent;
7use Bitrix\Calendar\Internals\EventManager\EventSubscriber;
8
10{
11 public function __construct(
12 private readonly int $eventCategoryId,
13 private readonly ?int $userId = null
14 )
15 {
16 }
17
18 public static function getEventType(): string
19 {
20 return EventType::AFTER_EVENT_CATEGORY_CREATE;
21 }
22
23 protected function getEventParams(): array
24 {
25 return [
26 'eventCategoryId' => $this->eventCategoryId,
27 'userId' => $this->userId,
28 ];
29 }
30
38}
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
Определения check_mail.php:18
__construct(private readonly int $eventCategoryId, private readonly ?int $userId=null)
Определения AfterEventCategoryCreate.php:11
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804