Elgg
Version 6.1
|
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 | |
$add_mute_link = (bool) elgg_extract('add_mute_link', $email_params, true) |
$body = elgg_extract('body', $vars) |
$body_title = !empty($subject) ? elgg_view_title($subject) : '' |
$email = elgg_extract('email', $vars) |
if ($email instanceof\Elgg\Email) $object = elgg_extract('object', $email_params) |
$recipient = elgg_extract('recipient', $email_params) |
$site_link = elgg_view_entity_url(elgg_get_site_entity()) |
$subject = elgg_extract('subject', $vars) |