Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
item_deps.php
Go to the documentation of this file.
1 <?php
2 
13 if (!$item instanceof ElggMenuItem) {
14  return;
15 }
16 
17 foreach ($item->getDeps() as $module) {
19 }
$module
Definition: login_box.php:11
$item
Definition: item_deps.php:12
$vars['entity']
elgg_require_js($name)
Request that Elgg load an AMD module onto the page.
Definition: elgglib.php:220
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:1310