Documentation

Events

Event Called Method Available from version
OnBeforeTicketNotify before sending notification on required response to query/ticket. CTicketReminder::SupportDeadlineNotify
OnBeforeTicketExpire before setting "Overdue" status for queries/tickets. CTicketReminder::SupportDeadline
OnAfterUseCoupon after using a coupon. CSupportSuperCoupon::UseCoupon
OnBeforeSendCouponEMail before forwarding coupon via e-mail. CSupportSuperCoupon::UseCoupon
OnBeforeTicketAdd before adding a ticket. CTicket::Set
OnBeforeTicketDelete before deleting a ticket. CTicket::Delete
OnBeforeTicketUpdate before updating a ticket. When subscribing to this event, function must pass the corresponding result in arFields:

function OnBeforeTicketUpdate($arFields) {
    // your code
    return $arFields;
}

CTicket::Set
OnTicketDelete before deleting a ticket. CTicket::Delete
OnAfterTicketAdd after adding a ticket. CTicket::Set
OnAfterTicketUpdate after updating a ticket. CTicket::Set
OnBeforeSendMailToAuthor before sending an e-mail to customer in Support module. CTicket::Set_sendMails
OnBeforeSendMailToSupport before sending an e-mail to customer in Support module. CTicket::Set_sendMails
OnAfterSendCouponEMail after forwarding coupon via e-mail. CSupportSuperCoupon::UseCoupon
OnBeforeUseCoupon before using coupon. CSupportSuperCoupon::UseCoupon


© «Bitrix24», 2001-2024
Up