1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
AfterOpenEventEdited.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Calendar\Event\Event;
4
5
use Bitrix\Calendar\Application\Command\UpdateEventCommand;
6
use Bitrix\Calendar\Event\Enum\EventType;
7
use Bitrix\Calendar\Internals\EventManager\BaseEvent;
8
use Bitrix\Calendar\Internals\EventManager\EventSubscriber;
9
10
final
class
AfterOpenEventEdited
extends
BaseEvent
11
{
12
public
function
__construct
(
13
private
readonly
int
$calendarEventId,
14
private
readonly
UpdateEventCommand
$command
15
)
16
{
17
}
18
19
public
static
function
getEventType
(): string
20
{
21
return
EventType::AFTER_OPEN_EVENT_EDITED;
22
}
23
24
protected
function
getEventParams
():
array
25
{
26
return
[
27
'eventId'
=> $this->calendarEventId,
28
'command'
=> $this->command,
29
];
30
}
31
32
protected
function
getSubscribers
():
array
33
{
34
return
[
35
new
EventSubscriber\Event\EditEventOption
(),
36
new
EventSubscriber\Event\AfterOpenEventEdit
(),
37
];
38
}
39
}
Bitrix\Calendar\Application\Command\UpdateEventCommand
Определения
updateeventcommand.php:6
Bitrix\Calendar\Event\Event\AfterOpenEventEdited
Определения
AfterOpenEventEdited.php:11
Bitrix\Calendar\Event\Event\AfterOpenEventEdited\getSubscribers
getSubscribers()
Определения
AfterOpenEventEdited.php:32
Bitrix\Calendar\Event\Event\AfterOpenEventEdited\getEventParams
getEventParams()
Определения
AfterOpenEventEdited.php:24
Bitrix\Calendar\Event\Event\AfterOpenEventEdited\getEventType
static getEventType()
Определения
AfterOpenEventEdited.php:19
Bitrix\Calendar\Event\Event\AfterOpenEventEdited\__construct
__construct(private readonly int $calendarEventId, private readonly UpdateEventCommand $command)
Определения
AfterOpenEventEdited.php:12
Bitrix\Calendar\Internals\EventManager\BaseEvent
Определения
baseevent.php:12
Bitrix\Calendar\Internals\EventManager\EventSubscriber\Event\AfterOpenEventEdit
Определения
afteropeneventedit.php:13
Bitrix\Calendar\Internals\EventManager\EventSubscriber\Event\EditEventOption
Определения
editeventoption.php:13
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
bitrix
modules
calendar
lib
Event
Event
AfterOpenEventEdited.php
Создано системой
1.14.0