|
EPG PHP SDK
|
Public Member Functions | |
| setNotificationCallback (mixed $callback) | |
| Sets the callback function to be used when a notification is received. | |
| handleNotification () | |
| Handles incoming notifications, typically sent via HTTP POST requests. | |
| handleNotification | ( | ) |
Handles incoming notifications, typically sent via HTTP POST requests.
This method reads the raw POST data, typically XML or JSON, and passes it to the callback function.
Exception If there's an error in fetching the input data.
| setNotificationCallback | ( | mixed | $callback | ) |
Sets the callback function to be used when a notification is received.
| mixed | $callback | The callback function to handle the notification. |