21 events in this category
Callback parameters: array ticket data, array attachment data, int attachment id, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketAttachmentsController.phpuse App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketAttachmentCreated(), function ($attachment, $attachmentId, $ticket, $userUuid) {
// Handle stormnodes:ticket:attachment:created
// Data keys: attachment, attachment_id, ticket, user_uuid
});
}Callback parameters: array ticket data, int attachment id, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketAttachmentsController.phpuse App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketAttachmentDeleted(), function ($attachmentId, $ticket, $userUuid) {
// Handle stormnodes:ticket:attachment:deleted
// Data keys: attachment_id, ticket, user_uuid
});
}Callback parameters: array ticket data, array attachment data, array updated data, int attachment id, string user uuid.
use App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketAttachmentUpdated(), function ($data, $data, $data, $id, $uuid) {
// Handle stormnodes:ticket:attachment:updated
// Parameters: array ticket data, array attachment data, array updated data, int attachment id, string user uuid.
});
}Callback parameters: array category data, int category id, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketCategoriesController.phpuse App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketCategoryCreated(), function ($category, $categoryId, $userUuid) {
// Handle stormnodes:ticket:category:created
// Data keys: category, category_id, user_uuid
});
}Callback parameters: array category data, int category id, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketCategoriesController.phpuse App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketCategoryDeleted(), function ($category, $categoryId, $userUuid) {
// Handle stormnodes:ticket:category:deleted
// Data keys: category, category_id, user_uuid
});
}Callback parameters: array category data, array updated data, int category id, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketCategoriesController.phpuse App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketCategoryUpdated(), function ($category, $categoryId, $updatedData, $userUuid) {
// Handle stormnodes:ticket:category:updated
// Data keys: category, category_id, updated_data, user_uuid
});
}Callback parameters: array ticket data, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketsController.phpuse App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketClosed(), function ($ticket, $userUuid) {
// Handle stormnodes:ticket:closed
// Data keys: ticket, user_uuid
});
}Callback parameters: array ticket data, int ticket id, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketsController.phpbackend/app/Controllers/User/TicketsController.phpuse App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketCreated(), function ($ticket, $ticketId, $userUuid) {
// Handle stormnodes:ticket:created
// Data keys: ticket, ticket_id, user_uuid
});
}Callback parameters: array ticket data, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketsController.phpbackend/app/Controllers/User/TicketsController.phpuse App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketDeleted(), function ($ticket, $userUuid) {
// Handle stormnodes:ticket:deleted
// Data keys: ticket, user_uuid
});
}Callback parameters: array ticket data, array message data, int message id, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketMessagesController.phpbackend/app/Controllers/Admin/TicketsController.php+1 more location
use App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketMessageCreated(), function ($message, $messageId, $ticket, $userUuid) {
// Handle stormnodes:ticket:message:created
// Data keys: message, message_id, ticket, user_uuid
});
}Callback parameters: array ticket data, int message id, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketMessagesController.phpbackend/app/Controllers/User/TicketsController.phpuse App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketMessageDeleted(), function ($messageId, $ticket, $userUuid) {
// Handle stormnodes:ticket:message:deleted
// Data keys: message_id, ticket, user_uuid
});
}Callback parameters: array ticket data, array message data, array updated data, int message id, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketMessagesController.phpuse App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketMessageUpdated(), function ($message, $messageId, $ticket, $updatedData, $userUuid) {
// Handle stormnodes:ticket:message:updated
// Data keys: message, message_id, ticket, updated_data, user_uuid
});
}Callback parameters: array priority data, int priority id, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketPrioritiesController.phpuse App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketPriorityCreated(), function ($priority, $priorityId, $userUuid) {
// Handle stormnodes:ticket:priority:created
// Data keys: priority, priority_id, user_uuid
});
}Callback parameters: array priority data, int priority id, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketPrioritiesController.phpuse App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketPriorityDeleted(), function ($priority, $priorityId, $userUuid) {
// Handle stormnodes:ticket:priority:deleted
// Data keys: priority, priority_id, user_uuid
});
}Callback parameters: array priority data, array updated data, int priority id, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketPrioritiesController.phpuse App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketPriorityUpdated(), function ($priority, $priorityId, $updatedData, $userUuid) {
// Handle stormnodes:ticket:priority:updated
// Data keys: priority, priority_id, updated_data, user_uuid
});
}Callback parameters: array ticket data, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketsController.phpuse App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketReopened(), function ($ticket, $userUuid) {
// Handle stormnodes:ticket:reopened
// Data keys: ticket, user_uuid
});
}Callback parameters: array ticket data, string old status, string new status, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketsController.phpuse App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketStatusChanged(), function ($newStatus, $oldStatus, $ticket, $userUuid) {
// Handle stormnodes:ticket:status:changed
// Data keys: new_status, old_status, ticket, user_uuid
});
}Callback parameters: array status data, int status id, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketStatusesController.phpuse App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketStatusCreated(), function ($status, $statusId, $userUuid) {
// Handle stormnodes:ticket:status:created
// Data keys: status, status_id, user_uuid
});
}Callback parameters: array status data, int status id, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketStatusesController.phpuse App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketStatusDeleted(), function ($status, $statusId, $userUuid) {
// Handle stormnodes:ticket:status:deleted
// Data keys: status, status_id, user_uuid
});
}Callback parameters: array status data, array updated data, int status id, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketStatusesController.phpuse App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketStatusUpdated(), function ($status, $statusId, $updatedData, $userUuid) {
// Handle stormnodes:ticket:status:updated
// Data keys: status, status_id, updated_data, user_uuid
});
}Callback parameters: array ticket data, array updated data, string user uuid.
This event receives the following data when emitted:
Emitted from:
backend/app/Controllers/Admin/TicketsController.phpuse App\Plugins\PluginEvents;
use App\Plugins\Events\Events\TicketEvent;
public static function processEvents(PluginEvents $evt): void
{
$evt->on(TicketEvent::onTicketUpdated(), function ($ticket, $updatedData, $userUuid) {
// Handle stormnodes:ticket:updated
// Data keys: ticket, updated_data, user_uuid
});
}