CreateUserAgentNotification

CreateUserAgentNotification(object, message, startTime, endTime): int

Creates user agent notification

Table 1. Parameters

object

Node or root object to send notification

message

Message to be sent to clients

startTime

Start time of notification delivery

endTime

End time of notification delivery

Return

New user agent notification id

>>> CreateUserAgentNotification($node, "One time notification text", 0, 0);
14

>>> CreateUserAgentNotification($node, "Interval user agent notification text", time(), time()+86400);
15