Application
Table of Contents
Classes
- AbstractChatwootApi
- Implements raw methods for communicating with the API.
- AbstractChatwootNotification
- Provides the basic implementation a Chatwoot notification must have.
- AbstractWhatsAppApi
- Holds methods that used to comunicate with the WhatsApp business API and cloud API.
- AbstractWhatsAppNotifcation
- MessageTemplateParser
- Maps the association between a message template and a notification into the WhatsApp request body required to send the message to the API.
- WhatsAppNotificationsEvents
- AbstractHttpRequest
- Provides a raw curl request method.
- AbstractRepository
- AbstractSettingsRepository
- Holds raw database operations for the table of the module settings: mod_lkn_hook_notification_configs.
- ChatwootApiRepository
- Holds methods that used to comunicate with the Chatwoot API.
- WhatsAppApiRepository
- Holds methods that used to comunicate with the WhatsApp business API.
- Config
- Provides methods for fast access to the module settings.
- ExtractHeaderDocBlockFromFile
- Formatter
- Lang
- Link
- Logger
- Response
- Utils
- VersionUpgrade
- View
- WhmcsApi
Traits
Enums
- Hooks
- Platforms
- ReportCategory
- Used for specifying the domain of the notification for reporting puporses.
- Settings
Functions
Functions
lknhooknotification_run_wp_events()
lknhooknotification_run_wp_events(bool $wasNotificationSent, AbstractWhatsAppNotifcation|AbstractChatwootNotification $instance) : mixed
Parameters
- $wasNotificationSent : bool
- $instance : AbstractWhatsAppNotifcation|AbstractChatwootNotification