Member Function Documentation
| addMsg |
( |
|
$msg_code, |
|
|
|
$params = '' |
|
) |
| |
Adds the message defined by the submitted code to a queue
- Parameters
-
| int | $msg_code | a number referencing to a message in lib/resources/views/msg_resources.inc.php |
| mixed | $params | an array of msg-paramaters |
Checks if there are any messages in the queue
- Returns
- bool true if messages have been queued, false otherwise
| displayAllMsg |
( |
|
$view_mode = "line" | ) |
|
Displays all queued messages
- Parameters
-
| string | $view_mode | can be "line" for embedded messages, "window" for separate messages |
| displayMsg |
( |
|
$msg_code, |
|
|
|
$view_mode = "line", |
|
|
|
$params = array() |
|
) |
| |
Display a single message
- Parameters
-
| int | $msg_code | a number referencing to a message in lib/resources/views/msg_resources.inc.php |
| string | $view_mode | can be "line" for embedded messages, "window" for separate messages |
| mixed | $params | an array of paramaters to be placed into the message |
Constructor for resource-messages. Loads lib/resources/views/msg_resources.inc.php
Field Documentation
The documentation for this class was generated from the following file: