Index

(dispatcher)

o2dispatch_add_label

integer o2dispatch_add_label(string $title, string $body, string $icon)

Adds a new label line to dispatcher list and return assigned unique ID.
A labels is the same as a dispatch but labels are not involved in items count and notification status.
Labels are intended to add commands, tools, separators, group labels, etc... in notification window.


Parameters:
  1. $title
  2. Title, visible in the list, to assign to dispatch
  3. $body
  4. Text of the dispatch, visible in the tooltip
  5. $icon
  6. Icon to show for the dispatch in the list