Elgg  Version master
Variables
subscriptions.php File Reference

Go to the source code of this file.

Variables

 $guid = (int) get_input('guid')
 Saves subscription record notification settings. More...
 
 $user = get_user($guid)
 
if(!$user||!$user->canEdit()) $methods = elgg_get_notification_methods()
 
if(empty($methods)) $subscriptions = (array) get_input('subscriptions', [])
 
if(empty($subscriptions)) $targets
 

Variable Documentation

$guid = (int) get_input('guid')

Saves subscription record notification settings.

Definition at line 6 of file subscriptions.php.

if (!$user||!$user->canEdit()) $methods = elgg_get_notification_methods()

Definition at line 13 of file subscriptions.php.

if (empty($methods)) $subscriptions = (array) get_input('subscriptions', [])

Definition at line 18 of file subscriptions.php.

if (empty($subscriptions)) $targets
Initial value:
'guids' => array_keys($subscriptions),
'limit' => false,
'batch' => true,
])
elgg_get_entities(array $options=[])
Fetches/counts entities or performs a calculation on their properties.
Definition: entities.php:507
if(empty($methods)) $subscriptions

Definition at line 23 of file subscriptions.php.

$user = get_user($guid)

Definition at line 7 of file subscriptions.php.