All events have the input parameter - identifier (ID) of entity that triggered an event.

Event is called
OnCalendarEntryAdd when event is added.
OnCalendarEntryUpdate when event is modified.
OnCalendarEntryDelete when event is deleted.
OnCalendarSectionAdd when CALENDAR_SECTION_ID section is added. Also is called when resource is added.

Note: Technologically, resource equals to section, i. e. created resources are placed in a special type of calendars and a section is created for each resource. Likewise, when resources are added or deleted, these events will be triggered.

OnCalendarSectionUpdate when modifying section/resource.
OnCalendarSectionDelete when deleting section/resource.

© «Bitrix24», 2001-2024