Elgg  Version 6.1
Variables
placeholder.php File Reference

Go to the source code of this file.

Variables

 $user = elgg_extract('entity', $vars)
 
if(!$user instanceof\ElggUser) $guid = $user->guid
 
 $page_owner_guid = elgg_get_page_owner_guid()
 
 $contexts = elgg_get_context_stack()
 
 $input = (array) elgg_get_config('input')
 
 $data = serialize([$guid, $page_owner_guid, $contexts, $input])
 
 $mac = elgg_build_hmac($data)->getToken()
 

Variable Documentation

$contexts = elgg_get_context_stack()

Definition at line 10 of file placeholder.php.

$data = serialize([$guid, $page_owner_guid, $contexts, $input])

Definition at line 14 of file placeholder.php.

if (!$user instanceof\ElggUser) $guid = $user->guid

Definition at line 8 of file placeholder.php.

$input = (array) elgg_get_config('input')

Definition at line 11 of file placeholder.php.

$mac = elgg_build_hmac($data)->getToken()

Definition at line 15 of file placeholder.php.

$page_owner_guid = elgg_get_page_owner_guid()

Definition at line 9 of file placeholder.php.

$user = elgg_extract('entity', $vars)

Definition at line 3 of file placeholder.php.