Elgg  Version master
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

◆ $detailed_subscriptions

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

Definition at line 35 of file details.php.

◆ $details

$details = []

Definition at line 45 of file details.php.

◆ $entity

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

Definition at line 14 of file details.php.

◆ $method_options

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

Definition at line 29 of file details.php.

◆ $methods

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

Definition at line 24 of file details.php.

◆ $notification_events

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

Definition at line 44 of file details.php.

◆ $user

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

Definition at line 13 of file details.php.