| 
    Elgg
    Version 6.3
    
   | 
 
Go to the source code of this file.
Functions | |
| elgg_import_esm (string $name) | |
| Helper functions for external files like css/js.  More... | |
| elgg_register_esm (string $name, string $href) | |
| Registers an ES module to the import map.  More... | |
| elgg_require_css (string $view) | |
| Register a CSS view name to be included in the HTML head.  More... | |
| elgg_register_external_file (string $type, string $name, string $url, string $location='') | |
| Core registration function for external files.  More... | |
| elgg_unregister_external_file (string $type, string $name) | |
| Unregister an external file.  More... | |
| elgg_load_external_file (string $type, string $name) | |
| Load an external resource for use on this page.  More... | |
| elgg_get_loaded_external_resources (string $type, string $location) | |
| Get external resource descriptors.  More... | |
| elgg_get_loaded_external_resources | ( | string | $type, | 
| string | $location | ||
| ) | 
Get external resource descriptors.
| string | $type | Type of file: js or css | 
| string | $location | Page location | 
Definition at line 105 of file external_files.php.
| elgg_import_esm | ( | string | $name | ) | 
Helper functions for external files like css/js.
Request that Elgg load an ES module onto the page.
| string | $name | The ES module name | 
Definition at line 15 of file external_files.php.
| elgg_load_external_file | ( | string | $type, | 
| string | $name | ||
| ) | 
Load an external resource for use on this page.
| string | $type | Type of file: js or css | 
| string | $name | The identifier for the file | 
Definition at line 92 of file external_files.php.
| elgg_register_esm | ( | string | $name, | 
| string | $href | ||
| ) | 
Registers an ES module to the import map.
| string | $name | name of the module | 
| string | $href | location where the module should be imported from | 
Definition at line 29 of file external_files.php.
| elgg_register_external_file | ( | string | $type, | 
| string | $name, | ||
| string | $url, | ||
| string | $location = ''  | 
        ||
| ) | 
Core registration function for external files.
| string | $type | Type of external resource (js or css) | 
| string | $name | Identifier used as key | 
| string | $url | URL | 
| string | $location | Location in the page to include the file (default = 'footer' for js, 'head' for anything else) | 
Definition at line 62 of file external_files.php.
| elgg_require_css | ( | string | $view | ) | 
Register a CSS view name to be included in the HTML head.
| string | $view | The css view name | 
Definition at line 41 of file external_files.php.
| elgg_unregister_external_file | ( | string | $type, | 
| string | $name | ||
| ) | 
Unregister an external file.
| string | $type | Type of file: js or css | 
| string | $name | The identifier of the file | 
Definition at line 79 of file external_files.php.