Class ModuleMessages
License: GNU General Public License v2.0 only **********************************************************************************************
Brief:
some functions for the messages module
This class adds some functions that are used in the messages module to keep the code easy to read and short
Class: modulemessages
Code:
// check the given Array for charecter and split it. $gMessage->show($gL10n->get('SYS_MESSAGE_TEXT_ID'));
// show a message and set a link to a page that should be shown after user click ok $gMessage->setForwardUrl('http://www.example.de/mypage.php'); $gMessage->show($gL10n->get('SYS_MESSAGE_TEXT_ID'));
// show a message with yes and no button and set a link to a page that should be shown after user click yes $gMessage->setForwardYesNo('http://www.example.de/mypage.php'); $gMessage->show($gL10n->get('SYS_MESSAGE_TEXT_ID')); @endcode
Par: Examples
Located at modulemessages.php
Methods summary
public
|
|
public
string
|
#
msgGroupNameSplit( string $roleIdsString )
Check for roles and give back a string with rolename. If former members or activa and former members were selected than an additional string will be shown after the rolename. |
public
array
|
#
msgGroupSplit( string $groupString )
check for Group and give back a array with group ID[0] and if it is active, inactive or both [1]. |
public
PDOStatement
|
|
public
PDOStatement
|
|
public
PDOStatement
|
|
public
integer
|