Opened 7 years ago

#1683 new defect

Add scope parameter to Message class

Reported by: michael.ritter Owned by: comvation
Priority: normal Milestone: unknown
Component: Core Version: 3.1 RC1
Severity: normal Keywords:


If a module produces a message, which is not shown instantly, the message is shown the next time any part of Contrexx calls the message getter. This could lead to a message of one module to be shown in another. So let's add a scope parameter in order to avoid message to be shown in places they don't belong.

Message::add($message, $class=self::CLASS_INFO, $scope='global'); Message::show($scope='global', $objTemplateLocal=null);

Change History (0)

Note: See TracTickets for help on using tickets.