Back
Messages
Messages UI
Conclusion
Forward


The Notification system takes care of displaying/handling messages that were pushed since the last time the message stack was checked. The PHP code to display any messages that are to be output to the screen looks like this:

<?php

$notification
->notify();

?>

Nice and simple. The Notification system stores a stack of messages in the user's session, so if you push an error and then don't display it immediately, it will still be stored, and will be displayed the next time that the message stack is checked.