事件钩子

FOSSBilling 内置了许多事件钩子,您可以在需要时使用它们来调用事件。

它们在下面列出,没有进一步的解释,但标题应该非常清楚每个何时运行。

  • onAfterAdminActivateExtension
  • onAfterAdminBatchSuspendOrders
  • onAfterAdminClientDelete
  • onAfterAdminClientPasswordChange
  • onAfterAdminClientUpdate
  • onAfterAdminCloseTicket
  • onAfterAdminCreateClient
  • onAfterAdminCronRun
  • onAfterAdminDeactivateExtension
  • onAfterAdminDeleteCurrency
  • onAfterAdminExtensionConfigSave
  • onAfterAdminGenerateRenewalInvoice
  • onAfterAdminInstallExtension
  • onAfterAdminInvoiceApprove
  • onAfterAdminInvoiceDelete
  • onAfterAdminInvoiceRefund
  • onAfterAdminInvoiceReminderSent
  • onAfterAdminInvoiceUpdate
  • onAfterAdminLogin
  • onAfterAdminNotificationAdd
  • onAfterAdminOpenTicket
  • onAfterAdminOrderActivate
  • onAfterAdminOrderCancel
  • onAfterAdminOrderCreate
  • onAfterAdminOrderDelete
  • onAfterAdminOrderDelete
  • onAfterAdminOrderRenew
  • onAfterAdminOrderSuspend
  • onAfterAdminOrderUncancel
  • onAfterAdminOrderUnsuspend
  • onAfterAdminOrderUpdate
  • onAfterAdminPublicTicketClose
  • onAfterAdminPublicTicketOpen
  • onAfterAdminPublicTicketReply
  • onAfterAdminReplyTicket
  • onAfterAdminSettingsUpdate
  • onAfterAdminStaffApiKeyChange
  • onAfterAdminStaffApiKeyChange
  • onAfterAdminStaffCreate
  • onAfterAdminStaffDelete
  • onAfterAdminStaffPasswordChange
  • onAfterAdminStaffProfilePasswordChange
  • onAfterAdminStaffProfilePasswordChange
  • onAfterAdminStaffProfileUpdate
  • onAfterAdminStaffProfileUpdate
  • onAfterAdminStaffUpdate
  • onAfterAdminSubscriptionCreate
  • onAfterAdminSubscriptionDelete
  • onAfterAdminTransactionCreate
  • onAfterAdminTransactionProcess
  • onAfterAdminTransactionUpdate
  • onAfterAdminUninstallExtension
  • onAfterClientCalledExampleModule
  • onAfterClientChangeNameservers
  • onAfterClientCloseTicket
  • onAfterClientLogin
  • onAfterClientOpenTicket
  • onAfterClientOrderCreate
  • onAfterClientProfilePasswordChange
  • onAfterClientProfilePasswordChange
  • onAfterClientProfileUpdate
  • onAfterClientProfileUpdate
  • onAfterClientReplyTicket
  • onAfterClientSignUp
  • onAfterGuestPublicTicketClose
  • onAfterGuestPublicTicketOpen
  • onAfterGuestPublicTicketReply
  • onAfterProductAddedToCart
  • onBeforeAdminActivateExtension
  • onBeforeAdminBatchSuspendOrders
  • onBeforeAdminClientDelete
  • onBeforeAdminClientPasswordChange
  • onBeforeAdminClientUpdate
  • onBeforeAdminCreateClient
  • onBeforeAdminCronRun
  • onBeforeAdminDeactivateExtension
  • onBeforeAdminDeleteCurrency
  • onBeforeAdminExtensionConfigSave
  • onBeforeAdminGenerateRenewalInvoice
  • onBeforeAdminInstallExtension
  • onBeforeAdminInvoiceApprove
  • onBeforeAdminInvoiceDelete
  • onBeforeAdminInvoiceRefund
  • onBeforeAdminInvoiceSendReminder
  • onBeforeAdminInvoiceSendReminders
  • onBeforeAdminInvoiceUpdate
  • onBeforeAdminLogin
  • onBeforeAdminOpenTicket
  • onBeforeAdminOrderActivate
  • onBeforeAdminOrderActivate
  • onBeforeAdminOrderActivate
  • onBeforeAdminOrderCancel
  • onBeforeAdminOrderCreate
  • onBeforeAdminOrderDelete
  • onBeforeAdminOrderDelete
  • onBeforeAdminOrderRenew
  • onBeforeAdminOrderSuspend
  • onBeforeAdminOrderUncancel
  • onBeforeAdminOrderUnsuspend
  • onBeforeAdminOrderUpdate
  • onBeforeAdminPublicTicketOpen
  • onBeforeAdminSettingsUpdate
  • onBeforeAdminStaffApiKeyChange
  • onBeforeAdminStaffApiKeyChange
  • onBeforeAdminStaffCreate
  • onBeforeAdminStaffDelete
  • onBeforeAdminStaffPasswordChange
  • onBeforeAdminStaffProfilePasswordChange
  • onBeforeAdminStaffProfilePasswordChange
  • onBeforeAdminStaffProfileUpdate
  • onBeforeAdminStaffProfileUpdate
  • onBeforeAdminStaffUpdate
  • onBeforeAdminTransactionCreate
  • onBeforeAdminTransactionProcess
  • onBeforeAdminTransactionUpdate
  • onBeforeAdminUninstallExtension
  • onBeforeClientChangeNameservers
  • onBeforeClientCheckout
  • onBeforeClientInvoiceDelete
  • onBeforeClientLogin
  • onBeforeClientOpenTicket
  • onBeforeClientProfilePasswordChange
  • onBeforeClientProfilePasswordChange
  • onBeforeClientProfileUpdate
  • onBeforeClientProfileUpdate
  • onBeforeClientSignUp
  • onBeforeGuestPasswordResetRequest
  • onBeforeGuestPublicTicketOpen
  • onBeforeProductAddedToCart
  • onEventAdminLoginFailed
  • onEventAfterInvoiceIsDue
  • onEventBeforeInvoiceIsDue
  • onEventClientLoginFailed
  • onBeforeAdminUpdateCore
  • onAfterAdminUpdateCore
  • onBeforeAdminUpdateExtension
  • onAfterAdminUpdateExtension
  • onBeforeAdminClientCreate
  • onAfterAdminClientCreate