$createNotification()

Overview

public any function $createNotification()

Proxy to the createNotification() method of the Notification Service. See Notifications for a full guide.

Example

$createNotification(
          topic = "eventbooked"
        , type  = "info"
        , data  = { bookingId = arguments.bookingId }
);