Elgg  Version 6.1
Variables
details.php File Reference

Go to the source code of this file.

Variables

 $user = get_entity((int) elgg_extract('user_guid', $vars))
 
 $entity = get_entity((int) elgg_extract('entity_guid', $vars))
 
if(!$user instanceof\ElggUser||!$entity instanceof\ElggEntity) if(!$user->canEdit()) $methods = elgg_get_notification_methods()
 
if(empty($methods)) $method_options = []
 
foreach($methods as $method) $detailed_subscriptions = []
 
foreach($entity->getSubscriptions($user->guid) as $subscription) $notification_events = elgg_get_notification_events()
 
 $details = []
 

Variable Documentation

foreach ($methods as $method) $detailed_subscriptions = []

Definition at line 35 of file details.php.

$details = []

Definition at line 45 of file details.php.

$entity = get_entity((int) elgg_extract('entity_guid', $vars))

Definition at line 14 of file details.php.

if (empty($methods)) $method_options = []

Definition at line 29 of file details.php.

if (!$user instanceof\ElggUser||!$entity instanceof\ElggEntity) if (!$user->canEdit()) $methods = elgg_get_notification_methods()

Definition at line 24 of file details.php.

foreach ($entity->getSubscriptions($user->guid) as $subscription) $notification_events = elgg_get_notification_events()

Definition at line 44 of file details.php.

$user = get_entity((int) elgg_extract('user_guid', $vars))

Definition at line 13 of file details.php.