Elgg  Version master
Variables
mute.php File Reference

Go to the source code of this file.

Variables

 $entity_guid = (int) get_input('entity_guid')
 Save settings from the notifications/mute page. More...
 
 $recipient_guid = (int) get_input('recipient_guid')
 
 $recipient = get_user($recipient_guid)
 
 $muted_settings = (array) get_input('mute', [])
 
 $hmac_token = get_input('hmac_token')
 
if(empty($entity_guid)||empty($recipient)||empty($muted_settings)||empty($hmac_token)) $hmac
 

Variable Documentation

$entity_guid = (int) get_input('entity_guid')

Save settings from the notifications/mute page.

Definition at line 6 of file mute.php.

if (empty($entity_guid)||empty($recipient)||empty($muted_settings)||empty($hmac_token)) $hmac
Initial value:
'entity_guid' => $entity_guid,
'recipient_guid' => $recipient_guid,
])
$entity_guid
Handle muting notifications about an entity.
Definition: mute.php:6
$recipient_guid
Definition: mute.php:7
elgg_build_hmac($data)
Get an HMAC token builder/validator object.
Definition: actions.php:56

Definition at line 18 of file mute.php.

$hmac_token = get_input('hmac_token')

Definition at line 11 of file mute.php.

$muted_settings = (array) get_input('mute', [])

Definition at line 10 of file mute.php.

$recipient = get_user($recipient_guid)

Definition at line 8 of file mute.php.

$recipient_guid = (int) get_input('recipient_guid')

Definition at line 7 of file mute.php.