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=array(), $text= '', array $options=array())
Format an HTML element.
elgg echo
Translates a string.
elgg require
Throw an error if the required package isn't present.
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
_elgg_services(\Elgg\Di\ServiceProvider $services=null)
Get the global service provider.
elgg_get_loaded_js($location= 'head')
Get the JavaScript URLs that are loaded.