BackendPro User Guide Version 0.3.1


Status Class

The Status Class implements a clean simple way to display messages to the user after a page load.

Note:  This class is initialized automatically by the system so there is no need to do it manually.

Status Class Function Reference

flashMsg()

Create new message:

flashMsg('type','message')

The first parameter type specifies what type the message should be. It can be any of the following, info, success, warning & error.

The second parameter message is the message you want to display to the user.

displayStatus()

Display stored messages:

displayStatus('type')

The first optional parameter specifys what type of error message you want to output. It can take several values, info, success, warning & error. As said, it is optional, if no type is given all error message types will be outputed.