42 $view_name =
"{$view}.css";
64 $location = $type ===
'js' ?
'footer' :
'head';
106 return _elgg_services()->externalFiles->getLoadedResources($type, $location);
elgg_require_css(string $view)
Register a CSS view name to be included in the HTML head.
if(!$user||!$user->canDelete()) $name
elgg_unregister_external_file(string $type, string $name)
Unregister an external file.
c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition plus the scripts used to control compilation and installation of the executable as a special the source code distributed need not include anything that is normally and so on of the operating system on which the executable unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place counts as distribution of the source even though third parties are not compelled to copy the source along with the object code You may not or distribute the Program except as expressly provided under this License Any attempt otherwise to sublicense or distribute the Program is void
elgg_register_external_file(string $type, string $name, string $url, string $location= '')
Core registration function for external files.
if(!empty($avatar)&&!$avatar->isValid()) elseif(empty($avatar)) if(!$owner->saveIconFromUploadedFile('avatar')) if(!elgg_trigger_event('profileiconupdate', $owner->type, $owner)) $view
elgg_import_esm(string $name)
Helper functions for external files like css/js.
elgg_register_esm(string $name, string $href)
Registers an ES module to the import map.
elgg_load_external_file(string $type, string $name)
Load an external resource for use on this page.
foreach($plugin_guids as $guid) if(empty($deactivated_plugins)) $url
_elgg_services()
Get the global service provider.
elgg_get_loaded_external_resources(string $type, string $location)
Get external resource descriptors.
elgg_get_simplecache_url(string $view)
Get the URL for the cached view.
elgg_view_exists(string $view, string $viewtype= '', bool $recurse=true)
Returns whether the specified view exists.