ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilUIFramework Class Reference
+ Collaboration diagram for ilUIFramework:

Static Public Member Functions

static init (ilGlobalTemplateInterface $template=null)
 

Data Fields

const 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 29 of file class.ilUIFramework.php.

References $DIC.

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

29  : void
30  {
31  global $DIC;
32 
33  $template = $template ?? $DIC->ui()->mainTemplate();
34  $template->addJavaScript(
35  self::BOOTSTRAP_JS,
36  true,
37  0
38  );
39  }
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.
+ Here is the caller graph for this function:

Field Documentation

◆ BOOTSTRAP_JS

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

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