Elgg  Version 2.3
Variables
placeholder.php File Reference

Go to the source code of this file.

Variables

 $menus_present = (array) elgg_get_config("lazy_hover:menus")
 
 $user = elgg_extract("entity", $vars)
 
if(!elgg_instanceof($user,"user")) $guid = (int) $user->getGUID()
 
 $page_owner_guid = (int) 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()
 
 $attrs
 
 class
 
 if (empty($menus_present[$mac]))
 

Variable Documentation

$attrs
Initial value:
= [
"rel" => $mac
$mac
Definition: placeholder.php:17

Definition at line 19 of file placeholder.php.

$contexts = elgg_get_context_stack()

Definition at line 12 of file placeholder.php.

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

Definition at line 16 of file placeholder.php.

if (!elgg_instanceof($user,"user")) $guid = (int) $user->getGUID()

Definition at line 10 of file placeholder.php.

$input = (array) elgg_get_config("input")

Definition at line 13 of file placeholder.php.

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

Definition at line 17 of file placeholder.php.

$menus_present = (array) elgg_get_config("lazy_hover:menus")

Definition at line 3 of file placeholder.php.

$page_owner_guid = (int) elgg_get_page_owner_guid()

Definition at line 11 of file placeholder.php.

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

Definition at line 5 of file placeholder.php.

class
Initial value:
=> "elgg-menu elgg-menu-hover elgg-ajax-loader",
]

Definition at line 21 of file placeholder.php.

if(empty($menus_present[$mac]))

Definition at line 24 of file placeholder.php.