Events that need to be reported to the user can use
$notification->push(), assuming the Notification system has been
initialized. This is done in most application's lib/base.php
files.
<?php
case MESSAGE_MISSING: $notification->push(_("There was an error viewing the requested message."), 'horde.error'); break;