4 echo "<script>$elgg_init</script>";
14 foreach (
$js as $url) {
21 require(<?= json_encode(
$deps, JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT); ?>);
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
elgg echo
Translates a string.
elgg require
Throw an error if the required package isn't present.
_elgg_services()
Get the global service provider.
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
elgg_get_loaded_js($location= 'head')
Get the JavaScript URLs that are loaded.