A whole class dedicated only to that tiny thing at the top of the page. More...
Static Public Member Functions | |
static | render () |
Render the top bar. | |
static | add_unsaved_warning () |
Add warning to the top-bar that there are changed but unsaved objects in the database. | |
static | add_warning ($msg) |
Adds warning to the top-bar with the supplied message. |
A whole class dedicated only to that tiny thing at the top of the page.
Wow!
Sort of silly as a whole class, but we need to be able to add warning messages during rendering, so it's better to have all the messages in one place so they don't go out of sync.