Method |
Description |
|
__construct ( ) : Object |
Create an instance of the Message class |
|
clear ( String $msg_type = null ) : integer |
Clear all currently loaded messages |
|
display ( $view, boolean $clear = true ) : integer |
Add current messages to the page for output |
|
error ( $message ) |
Add an error type message to output |
|
get ( String $msg_type = null ) : Array |
Get currently loaded messages
Optionally filter on message type |
|
info ( $message ) |
Add an information type message to output |
|
setTemplate ( String $tpl_file ) |
Set the template file to use for message output |
|
warn ( $message ) |
Add an warning type message to output |
|