Elgg
Version 1.11
|
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 | |
if (empty( $menus_present[ $mac])) | |
$attrs |
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.
if(empty($menus_present[$mac])) | ( | empty( $menus_present[ $mac]) | ) |
Definition at line 24 of file placeholder.php.