25 protected const YUI_BASE =
"./node_modules/yui2/build";
31 return $main_tpl ===
null ? $DIC->ui()->mainTemplate() : $main_tpl;
40 $tpl = self::ensureGlobalTemplate($a_main_tpl);
41 $tpl->addJavaScript(
"assets/js/yahoo-dom-event.js");
42 $tpl->addJavaScript(
"assets/js/connection-min.js");
52 $tpl = self::ensureGlobalTemplate($a_main_tpl);
53 $tpl->addJavaScript(
"assets/js/yahoo-dom-event.js");
63 $tpl = self::ensureGlobalTemplate($a_main_tpl);
64 $tpl->addJavaScript(
"assets/js/yahoo-dom-event.js");
76 $tpl = self::ensureGlobalTemplate($a_main_tpl);
77 $tpl->addJavaScript(
"assets/js/yahoo-dom-event.js");
78 $tpl->addJavaScript(
"assets/js/dragdrop-min.js");
79 $tpl->addJavaScript(
"assets/js/element-min.js");
91 $tpl = self::ensureGlobalTemplate($a_main_tpl);
92 $tpl->addJavaScript(
"assets/js/yahoo-dom-event.js");
101 bool $a_resize =
false,
104 $tpl = self::ensureGlobalTemplate($a_main_tpl);
105 $tpl->addJavaScript(
"assets/js/yahoo-dom-event.js");
106 $tpl->addJavaScript(
"assets/js/container-min.js");
107 self::addContainerCss($tpl);
108 $tpl->addCss(
"./components/ILIAS/Calendar/css/panel_min.css");
111 $tpl->addCss(self::YUI_BASE .
"/resize/assets/skins/sam/resize.css");
112 $tpl->addJavaScript(
"assets/js/utilities.js");
113 $tpl->addJavaScript(
"assets/js/resize-min.js");
125 $tpl = self::ensureGlobalTemplate();
126 $tpl->addJavaScript(
"assets/js/yahoo-dom-event.js");
127 $tpl->addJavaScript(
"assets/js/animation-min.js");
128 $tpl->addJavaScript(
"assets/js/connection-min.js");
141 $tpl = self::ensureGlobalTemplate($a_main_tpl);
142 $tpl->addJavaScript(
"assets/js/yahoo-dom-event.js");
143 $tpl->addJavaScript(
"assets/js/container_core-min.js");
144 self::addContainerCss($tpl);
154 $tpl = self::ensureGlobalTemplate();
155 $tpl->addJavaScript(
"assets/js/yahoo-dom-event.js");
156 $tpl->addJavaScript(
"assets/js/element-min.js");
158 $tpl->addJavaScript(
"assets/js/container_core-min.js");
159 $tpl->addJavaScript(
"assets/js/menu-min.js");
161 $tpl->addJavaScript(
"assets/js/button-min.js");
163 $tpl->addCss(
"assets/css/button.css");
164 $tpl->addCss(
"assets/css/menu.css");
173 $tpl = self::ensureGlobalTemplate();
174 $tpl->addJavaScript(
"assets/js/yahoo-min.js", 1);
175 $tpl->addJavaScript(
"assets/js/cookie.js", 1);
184 return self::YUI_BASE .
"/" . $a_name;
194 $tpl = self::ensureGlobalTemplate($a_main_tpl);
195 $tpl->addCss(
"assets/css/container.css");
static getLocalPath(string $a_name="")
Get local path of a YUI js file.
static initDomEvent(?ilGlobalTemplateInterface $a_main_tpl=null)
Init YUI DomEvent used in Services/Calendar, Modules/Session, Modules/Test (Jan 2022) ...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static initDom(?ilGlobalTemplateInterface $a_main_tpl=null)
Init YUI Dom.
static ensureGlobalTemplate(?ilGlobalTemplateInterface $main_tpl=null)
static addContainerCss(?ilGlobalTemplateInterface $a_main_tpl=null)
Add container css.
static initDragDrop(?ilGlobalTemplateInterface $a_main_tpl=null)
Init YUI Drag and Drop used in Modules/Survey, Services/Calendar, Services/COPage, Services/Form (Jan 2022)
static initButtonControl()
init button control In the moment used for calendar color picker button
static initCookie()
used in Services/Authentication (Session Reminder) Jan 2022
static initEvent(?ilGlobalTemplateInterface $a_main_tpl=null)
Init YUI Event.
static initConnection(?ilGlobalTemplateInterface $a_main_tpl=null)
Init YUI Connection module.
static initConnectionWithAnimation()
Init YUI connection and animation module used in Modules/Test (Jan 2022)
static initPanel(bool $a_resize=false, ?ilGlobalTemplateInterface $a_main_tpl=null)
Init yui panel used in Modules/Test, Services/TermsOfService (Jan 2022)
static initOverlay(?ilGlobalTemplateInterface $a_main_tpl=null)
Init YUI Overlay module used in Modules/Test, Services/TermsOfService, Services/Tracking, Services/UIComponent.