Go to the source code of this file.
◆ $actor
◆ $checkboxes
◆ $container
if ( $entity instanceof \ElggComment) elseif (!elgg_is_empty( $entity->getDisplayName())) $container = ($entity instanceof ElggComment) ? $entity->getContainerEntity()->getContainerEntity() : $entity->getContainerEntity() |
◆ $entity
Form to mute notifications about an entity.
@uses $vars['entity'] the entity to mute notifications for @uses $vars['recipient'] the recipient of the notification @uses $vars['actor'] the actor of the notification
Definition at line 10 of file mute.php.
◆ $footer
Initial value:
'#type' => 'submit',
])
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition at line 124 of file mute.php.
◆ $get_language_key
Initial value:
"notifications:mute:{$entity->type}:{$entity->subtype}",
"notifications:mute:{$entity->type}",
"notifications:mute:{$default_postfix}",
];
}
}
}
elgg_language_key_exists(string $key, string $language='en')
Check if a given language key exists.
if($container instanceof ElggGroup && $container->guid !=elgg_get_page_owner_guid()) $key
Definition at line 16 of file mute.php.
◆ $hmac
Initial value:
])
elgg_build_hmac($data)
Get an HMAC token builder/validator object.
Definition at line 108 of file mute.php.
◆ $mute_guids
◆ $owner
if (( $container instanceof \ElggGroup||$container instanceof \ElggUser) &&!in_array( $container->guid, $mute_guids)) $owner = $entity->getOwnerEntity() |
◆ $recipient
◆ if
if (( $actor instanceof \ElggGroup||$actor instanceof \ElggUser) &&!in_array( $actor->guid, $mute_guids)) if(empty($checkboxes)) |
( |
empty( $checkboxes) |
| ) |
|