Elgg
Version 6.1
|
Go to the source code of this file.
Variables | |
$notifications = (array) elgg_extract('notifications', $vars) | |
$recipient = elgg_extract('recipient', $vars) | |
if(empty($notifications)||!$recipient instanceof\ElggEntity) | $sorted = [] |
foreach($notifications as $index=> $notification) if(empty($sorted)) | $unknowns = elgg_extract('other', $sorted, []) |
if(!empty($unknowns)) | $body = elgg_echo('notifications:delayed_email:body:intro') . PHP_EOL . PHP_EOL |
foreach($sorted as $category=> $sorted_notifications) | if (empty($body)) |
$notifications = (array) elgg_extract('notifications', $vars) |
$recipient = elgg_extract('recipient', $vars) |
if (empty($notifications)||!$recipient instanceof\ElggEntity) $sorted = [] |
foreach ($notifications as $index=> $notification) if (empty($sorted)) $unknowns = elgg_extract('other', $sorted, []) |