Elgg
Version 6.3
|
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) |
HTML body of an email.
@uses $vars['subject'] the subject of the email @uses $vars['body'] the body/message of the email @uses $vars['language'] the language of the recipient @uses $vars['email'] the \Elgg\Email which is being processed
if($add_mute_link && $object instanceof \ElggEntity && $recipient instanceof \ElggUser) | ( | $add_mute_link && $object instanceof \ElggEntity && $recipient instanceof \ | ) | = $body_title |