Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
navigation
menu
elements
item_deps.php
Go to the documentation of this file.
1
<?php
2
12
$item
=
elgg_extract
(
'item'
,
$vars
);
13
if
(!
$item
instanceof
ElggMenuItem
) {
14
return
;
15
}
16
17
foreach
(
$item
->getDeps() as
$module
) {
18
elgg_require_js
(
$module
);
19
}
$module
$module
Definition:
login_box.php:11
ElggMenuItem
$item
$item
Definition:
item_deps.php:12
$vars
$vars['entity']
Definition:
plugin_settings.php:15
elgg_require_js
elgg_require_js($name)
Request that Elgg load an AMD module onto the page.
Definition:
elgglib.php:232
elgg_extract
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:1375
Generated on Sat Dec 21 2024 00:01:05 for Elgg by
1.8.11