ILIAS  release_8 Revision v8.24
ilUIFramework Class Reference
+ Collaboration diagram for ilUIFramework:

Static Public Member Functions

static init (ilGlobalTemplateInterface $template=null)
 

Data Fields

const BOWER_BOOTSTRAP_JS = "./node_modules/bootstrap/dist/js/bootstrap.min.js"
 

Detailed Description

Member Function Documentation

◆ init()

static ilUIFramework::init ( ilGlobalTemplateInterface  $template = null)
static

Definition at line 15 of file class.ilUIFramework.php.

15 : void
16 {
17 global $DIC;
18
19 $template = $template ?? $DIC->ui()->mainTemplate();
20 $template->addJavaScript(
21 self::BOWER_BOOTSTRAP_JS,
22 true,
23 0
24 );
25 }
global $DIC
Definition: feed.php:28
addJavaScript(string $a_js_file, bool $a_add_version_parameter=true, int $a_batch=2)
Add a javascript file that should be included in the header.

References $DIC.

Referenced by ilLMPresentationGUI\addResourceFiles(), ilLMPresentationGUI\glossary(), ilDataCollectionGlobalTemplate\loadStandardTemplate(), ilRTEGlobalTemplate\loadStandardTemplate(), ilGlobalTemplate\loadStandardTemplate(), and ilGlobalPageTemplate\prepareBasicJS().

+ Here is the caller graph for this function:

Field Documentation

◆ BOWER_BOOTSTRAP_JS

const ilUIFramework::BOWER_BOOTSTRAP_JS = "./node_modules/bootstrap/dist/js/bootstrap.min.js"

The documentation for this class was generated from the following file: