Elgg  Version 5.1
Variables
plaintext.php File Reference

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)) $output = elgg_echo('notifications:delayed_email:body:intro') . PHP_EOL . PHP_EOL
 
foreach($sorted as $category=> $sorted_notifications) if (empty($output))
 

Variable Documentation

$notifications = (array) elgg_extract('notifications', $vars)

Definition at line 12 of file plaintext.php.

if (!empty($unknowns)) $output = elgg_echo('notifications:delayed_email:body:intro') . PHP_EOL . PHP_EOL

Definition at line 79 of file plaintext.php.

$recipient = elgg_extract('recipient', $vars)

Definition at line 13 of file plaintext.php.

if (empty($notifications)||!$recipient instanceof\ElggEntity) $sorted = []

Definition at line 20 of file plaintext.php.

foreach ($notifications as $index=> $notification) if (empty($sorted)) $unknowns = elgg_extract('other', $sorted, [])

Definition at line 66 of file plaintext.php.

foreach ($sorted as $category=> $sorted_notifications) if(empty($output))

Definition at line 112 of file plaintext.php.