-
Notifications
You must be signed in to change notification settings - Fork 82
IBX-9737: Collaboration events described in Dev-doc #2893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
9cd78af
2b6d179
a1ab4c2
cbed52d
3dd7e32
6f014a8
f471bb7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| --- | ||
| description: Events that are triggered when working with collaborative editing feature. | ||
| page_type: reference | ||
| month_change: true | ||
| --- | ||
|
|
||
| # Collaboration events | ||
|
|
||
| ## Invitation events | ||
|
|
||
| | Event | Dispatched by | Properties | | ||
| |---|---|---| | ||
| |[BeforeCreateInvitationEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Invitation-Event-BeforeCreateInvitationEvent.html)|[InvitationService::createInvitation()](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-InvitationServiceInterface.html#method_createInvitation)|`InvitationCreateStruct $createStruct`<br>`?InvitationInterface $invitationResult = null`| | ||
|
Check failure on line 13 in docs/api/event_reference/collaboration_events.md
|
||
| |[BeforeDeleteInvitationEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Invitation-Event-BeforeDeleteInvitationEvent.html)|[InvitationService::deleteInvitation()](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-InvitationServiceInterface.html#method_deleteInvitation)|`InvitationInterface $invitation`| | ||
|
Check failure on line 14 in docs/api/event_reference/collaboration_events.md
|
||
| |[BeforeUpdateInvitationEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Invitation-Event-BeforeUpdateInvitationEvent.html)|[InvitationService::updateInvitation()](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-InvitationServiceInterface.html#method_updateInvitation)|`InvitationInterface $invitation`<br>`InvitationUpdateStruct $updateStruct`<br>`?InvitationInterface $invitationResult = null`| | ||
|
Check failure on line 15 in docs/api/event_reference/collaboration_events.md
|
||
| |[CreateInvitationEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Invitation-Event-CreateInvitationEvent.html)|[InvitationService::createInvitation()](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-InvitationServiceInterface.html#method_createInvitation)|`InvitationCreateStruct $createStruct`<br>`InvitationInterface $invitation`| | ||
|
Check failure on line 16 in docs/api/event_reference/collaboration_events.md
|
||
| |[DeleteInvitationEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Invitation-Event-DeleteInvitationEvent.html)|[InvitationService::deleteInvitation()](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-InvitationServiceInterface.html#method_deleteInvitation)|`InvitationInterface $invitation`| | ||
|
Check failure on line 17 in docs/api/event_reference/collaboration_events.md
|
||
| |[UpdateInvitationEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Invitation-Event-UpdateInvitationEvent.html)|[InvitationService::updateInvitation()](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-InvitationServiceInterface.html#method_updateInvitation)|`InvitationInterface $invitation`<br>`InvitationUpdateStruct $updateStruct`<br>`InvitationInterface $invitationResult`| | ||
|
Check failure on line 18 in docs/api/event_reference/collaboration_events.md
|
||
|
|
||
| ## Participant events | ||
|
|
||
| | Event | Dispatched by | Properties | | ||
| |---|---|---| | ||
| |[AddParticipantEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Participant-Event-AddParticipantEvent.html)|[SessionService::addParticipant()](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_addParticipant)|`SessionInterface $session`<br>`ParticipantCreateStruct $createStruct`<br>`ParticipantInterface $parcicipant`| | ||
|
Check failure on line 24 in docs/api/event_reference/collaboration_events.md
|
||
| |[BeforeAddParticipantEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Participant-Event-BeforeAddParticipantEvent.html)|[SessionService::addParticipant()](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_addParticipant)|`SessionInterface $session`<br>`AbstractParticipantCreateStruct $createStruct`<br>`?ParticipantInterface $participantResult = null`| | ||
|
Check failure on line 25 in docs/api/event_reference/collaboration_events.md
|
||
| |[BeforeRemoveParticipantEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Participant-Event-BeforeRemoveParticipantEvent.html)|[SessionService::removeParticipant()](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_removeParticipant)|`SessionInterface $session`<br>`ParticipantInterface $participant`| | ||
|
Check failure on line 26 in docs/api/event_reference/collaboration_events.md
|
||
| |[BeforeUpdateParticipantEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Participant-Event-BeforeUpdateParticipantEvent.html)|[SessionService::updateParticipant()](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_updateParticipant)|`SessionInterface $session`<br>`ParticipantInterface $participant`<br>`AbstractParticipantUpdateStruct $updateStruct`<br>`?ParticipantInterface $participantResult = null`| | ||
|
Check failure on line 27 in docs/api/event_reference/collaboration_events.md
|
||
| |[RemoveParticipantEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Participant-Event-RemoveParticipantEvent.html)|[SessionService::removeParticipant()](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_removeParticipant)|`SessionInterface $session`<br>`ParticipantInterface $participant`| | ||
|
Check failure on line 28 in docs/api/event_reference/collaboration_events.md
|
||
| |[UpdateParticipantEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Participant-Event-UpdateParticipantEvent.html)|[SessionService::updateParticipant()](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_updateParticipant)|`SessionInterface $session`<br>`ParticipantInterface $participant`<br>`ParticipantUpdateStruct $updateStruct`| | ||
|
Check failure on line 29 in docs/api/event_reference/collaboration_events.md
|
||
|
|
||
| ## Session events | ||
|
|
||
| | Event | Dispatched by | Properties | | ||
| |---|---|---| | ||
| |[BeforeCreateSessionEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Session-Event-BeforeCreateSessionEvent.html)|[SessionService::createSession()](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_createSession)|`AbstractSessionCreateStruct $createStruct`<br>`?SessionInterface $sessionResult = null`| | ||
|
Check failure on line 35 in docs/api/event_reference/collaboration_events.md
|
||
| |[BeforeDeleteSessionEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Session-Event-BeforeDeleteSessionEvent.html)|[SessionService::deleteSession()](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_deleteSession)|`SessionInterface $session`| | ||
|
Check failure on line 36 in docs/api/event_reference/collaboration_events.md
|
||
| |[BeforeUpdateSessionEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Session-Event-BeforeUpdateSessionEvent.html)|[SessionService::updateSession()](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_updateSession)|`SessionInterface $session`<br>`AbstractSessionUpdateStruct $updateStruct`<br>`?SessionInterface $sessionResult = null`| | ||
|
Check failure on line 37 in docs/api/event_reference/collaboration_events.md
|
||
| |[CreateSessionEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Session-Event-CreateSessionEvent.html)|[SessionService::createSession()](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_createSession)|`AbstractSessionCreateStruct $createStruct`<br>`SessionInterface $sessionResult`| | ||
|
Check failure on line 38 in docs/api/event_reference/collaboration_events.md
|
||
| |[DeleteSessionEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Session-Event-DeleteSessionEvent.html)|[SessionService::deleteSession()](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_deleteSession)|`SessionInterface $session`| | ||
|
Check failure on line 39 in docs/api/event_reference/collaboration_events.md
|
||
| |[JoinSessionEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Session-Event-JoinSessionEvent.html)|`SessionJoinController::joinAction()`|`SessionInterface $session`<br>`?RedirectResponse $response = null`| | ||
|
Check failure on line 40 in docs/api/event_reference/collaboration_events.md
|
||
julitafalcondusza marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| |[LeaveSessionEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Session-Event-LeaveSessionEvent.html)|`SessionLeaveController::leaveAction()`|`?SessionInterface $session`| | ||
|
Check failure on line 41 in docs/api/event_reference/collaboration_events.md
|
||
| |[UpdateSessionEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Session-Event-UpdateSessionEvent.html)|[SessionService::updateSession()](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_updateSession)|`SessionInterface $session`<br>`AbstractSessionUpdateStruct $updateStruct`<br>`SessionInterface $sessionResult`| | ||
|
Check failure on line 42 in docs/api/event_reference/collaboration_events.md
|
||
| |[SessionPublicPreviewEvent](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-Session-Event-SessionPublicPreviewEvent.html)|`SessionPublicPreviewController::previewAction()`|`SessionInterface $session`<br>`?RedirectResponse $response = null`| | ||
|
Check failure on line 43 in docs/api/event_reference/collaboration_events.md
|
||
julitafalcondusza marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Uh oh!
There was an error while loading. Please reload this page.