function messaging_message_group in Messaging 6
Same name and namespace in other branches
- 5 messaging.module \messaging_message_group()
- 6.2 messaging.module \messaging_message_group()
- 6.3 messaging.module \messaging_message_group()
Returns information about message groups
Parameters
$group: Optional message group. Returns all groups if null.
$key: Optional message key inside the group. Returns all keys if null.
Return value
array() Depending on parameters, may be all message groups and keys or only a specific one.
1 call to messaging_message_group()
- messaging_admin_help in ./
messaging.admin.inc - Aditional help for admin pages, will be called from messaging_help().
File
- ./
messaging.module, line 587
Code
function messaging_message_group($group = NULL, $key = NULL) {
static $info;
if (!isset($info)) {
$info = module_invoke_all('messaging', 'message groups');
}
return _messaging_info($info, $group, $key);
}