[dev] Notification question
Chuck Hagenbuch
chuck at horde.org
Fri Jan 10 13:27:11 PST 2003
Quoting Jon Parise <jon at horde.org>:
> I don't think it's that excessive. It's fairly literate, actually.
> I suppose the common use case could always be shorted to:
>
> $event = new Notification_Event(_("Your password was updated
> successfully."));
> $notification->push($event, 'horde.success');
I was actually thinking that push() would transparently create a
Notification_Event object if it was passed a string.
-chuck
--
Charles Hagenbuch, <chuck at horde.org>
must ... find ... acorns ... *thud*
More information about the dev
mailing list