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

Variable Documentation

◆ $body

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

Definition at line 79 of file html.php.

◆ $notifications

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

Definition at line 12 of file html.php.

◆ $recipient

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

Definition at line 13 of file html.php.

◆ $sorted

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

Definition at line 20 of file html.php.

◆ $unknowns

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

Definition at line 66 of file html.php.

◆ if

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

Definition at line 117 of file html.php.