Elgg  Version master
Variables
body.php File Reference

Go to the source code of this file.

Variables

 $subject = elgg_extract('subject', $vars)
 HTML body of an email. More...
 
 $body = elgg_extract('body', $vars)
 
 $body_title = !empty($subject) ? elgg_view_title($subject) : ''
 
 $site_link = elgg_view_entity_url(elgg_get_site_entity())
 
 $email_params = []
 
 $email = elgg_extract('email', $vars)
 
if($email instanceof\Elgg\Email) $object = elgg_extract('object', $email_params)
 
 $recipient = elgg_extract('recipient', $email_params)
 
 $add_mute_link = (bool) elgg_extract('add_mute_link', $email_params, true)
 
 if ($add_mute_link &&$object instanceof\ElggEntity &&$recipient instanceof\ElggUser) = $body_title
 

Variable Documentation

$add_mute_link = (bool) elgg_extract('add_mute_link', $email_params, true)

Definition at line 26 of file body.php.

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

Definition at line 12 of file body.php.

$body_title = !empty($subject) ? elgg_view_title($subject) : ''

Definition at line 14 of file body.php.

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

Definition at line 19 of file body.php.

$email_params = []

Definition at line 18 of file body.php.

if ($email instanceof\Elgg\Email) $object = elgg_extract('object', $email_params)
Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 24 of file body.php.

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

Definition at line 25 of file body.php.

Definition at line 16 of file body.php.

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

HTML body of an email.

$vars['subject'] the subject of the email $vars['body'] the body/message of the email $vars['language'] the language of the recipient $vars['email'] the which is being processed

Definition at line 11 of file body.php.

if($add_mute_link &&$object instanceof\ElggEntity &&$recipient instanceof\ElggUser) = $body_title

Definition at line 48 of file body.php.