ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilYuiUtil Class Reference

Yahoo YUI Library Utility functions. More...

+ Collaboration diagram for ilYuiUtil:

Static Public Member Functions

static initConnection ()
 Init YUI Connection module. More...
 
static initEvent ()
 Init YUI Event. More...
 
static initDom ()
 Init YUI Dom. More...
 
static initAnimation ()
 Init YUI Animation. More...
 
static initDragDrop ()
 Init YUI Drag and Drop. More...
 
static initDomEvent ()
 Init YUI DomEvent. More...
 
static initPanel ($a_resize=false)
 Init yui panel. More...
 
static initConnectionWithAnimation ()
 Init YUI Connection module. More...
 
static initMenu ()
 Init YUI Menu module. More...
 
static initOverlay ()
 Init YUI Overlay module. More...
 
static initSimpleDialog ()
 Init YUI Simple Dialog. More...
 
static initAssessmentWizard ()
 Init assessment wizard. More...
 
static initDragDropList ()
 init drag & drop list More...
 
static initDragDropAnimation ()
 init drag & drop and animation More...
 
static initElementSelection ()
 init element selection More...
 
static getDragDropList ($id_source, $title_source, $source, $id_dest, $title_dest, $dest)
 get a drag & drop list More...
 
static addYesNoDialog ($dialogname, $headertext, $message, $yesaction, $noaction, $defaultyes, $icon="help")
 
static initCalendar ()
 init calendar More...
 
static initButtonControl ()
 init button control In the moment used for calendar color picker button More...
 
static initColorPicker ()
 init color picker button More...
 
static initTabView ()
 Init YUI TabView component. More...
 
static initJson ()
 Init YUI JSON component. More...
 
static initLayout ()
 Init layout (alpha!) More...
 
static initTreeView ()
 Init treeView. More...
 
static initTooltip ()
 Init YUI Event. More...
 
static getLocalPath ($a_name="")
 Get local path of a YUI js file. More...
 

Static Protected Member Functions

static addContainerCss ()
 Add container css. More...
 

Static Private Attributes

static $ver = "2_9_0"
 

Detailed Description

Yahoo YUI Library Utility functions.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

Definition at line 11 of file class.ilYuiUtil.php.

Member Function Documentation

◆ addContainerCss()

static ilYuiUtil::addContainerCss ( )
staticprotected

Add container css.

Definition at line 445 of file class.ilYuiUtil.php.

References $tpl.

446  {
447  global $tpl;
448 
449  $tpl->addCss(self::getLocalPath("container/assets/skins/sam/container.css"));
450  }
global $tpl
Definition: ilias.php:8

◆ addYesNoDialog()

static ilYuiUtil::addYesNoDialog (   $dialogname,
  $headertext,
  $message,
  $yesaction,
  $noaction,
  $defaultyes,
  $icon = "help" 
)
static

Definition at line 242 of file class.ilYuiUtil.php.

References $lng, and $tpl.

243  {
244  global $tpl, $lng;
245 
246  self::initSimpleDialog();
247 
248  $template = new ilTemplate("tpl.yes_no_dialog.js", TRUE, TRUE, "Services/YUI");
249  $template->setVariable("DIALOGNAME", $dialogname);
250  $template->setVariable("YES_ACTION", $yesaction);
251  $template->setVariable("NO_ACTION", $noaction);
252  $template->setVariable("DIALOG_HEADER", $headertext);
253  $template->setVariable("DIALOG_MESSAGE", $message);
254  $template->setVariable("TEXT_YES", $lng->txt("yes"));
255  $template->setVariable("TEXT_NO", $lng->txt("no"));
256  switch ($icon)
257  {
258  case "warn":
259  $template->setVariable("ICON", "YAHOO.widget.SimpleDialog.ICON_WARN");
260  break;
261  case "tip":
262  $template->setVariable("ICON", "YAHOO.widget.SimpleDialog.ICON_TIP");
263  break;
264  case "info":
265  $template->setVariable("ICON", "YAHOO.widget.SimpleDialog.ICON_INFO");
266  break;
267  case "block":
268  $template->setVariable("ICON", "YAHOO.widget.SimpleDialog.ICON_BLOCK");
269  break;
270  case "alarm":
271  $template->setVariable("ICON", "YAHOO.widget.SimpleDialog.ICON_ALARM");
272  break;
273  case "help":
274  default:
275  $template->setVariable("ICON", "YAHOO.widget.SimpleDialog.ICON_HELP");
276  break;
277  }
278  if ($defaultyes)
279  {
280  $template->touchBlock("isDefaultYes");
281  }
282  else
283  {
284  $template->touchBlock("isDefaultNo");
285  }
286  $tpl->setCurrentBlock("HeadContent");
287  $tpl->setVariable("CONTENT_BLOCK", $template->get());
288  $tpl->parseCurrentBlock();
289  }
global $tpl
Definition: ilias.php:8
special template class to simplify handling of ITX/PEAR
global $lng
Definition: privfeed.php:17

◆ getDragDropList()

static ilYuiUtil::getDragDropList (   $id_source,
  $title_source,
  $source,
  $id_dest,
  $title_dest,
  $dest 
)
static

get a drag & drop list

Definition at line 210 of file class.ilYuiUtil.php.

211  {
212  self::initDragDropList();
213 
214  $template = new ilTemplate("tpl.dragdroplist.html", TRUE, TRUE, "Services/YUI");
215  foreach ($source as $id => $name)
216  {
217  $template->setCurrentBlock("source_element");
218  $template->setVariable("ELEMENT_ID", $id);
219  $template->setVariable("ELEMENT_NAME", $name);
220  $template->parseCurrentBlock();
221  $template->setCurrentBlock("element");
222  $template->setVariable("ELEMENT_ID", $id);
223  $template->parseCurrentBlock();
224  }
225  foreach ($dest as $id => $name)
226  {
227  $template->setCurrentBlock("dest_element");
228  $template->setVariable("ELEMENT_ID", $id);
229  $template->setVariable("ELEMENT_NAME", $name);
230  $template->parseCurrentBlock();
231  $template->setCurrentBlock("element");
232  $template->setVariable("ELEMENT_ID", $id);
233  $template->parseCurrentBlock();
234  }
235  $template->setVariable("TITLE_LIST_1", $title_source);
236  $template->setVariable("TITLE_LIST_2", $title_dest);
237  $template->setVariable("LIST_1", $id_source);
238  $template->setVariable("LIST_2", $id_dest);
239  return $template->get();
240  }
special template class to simplify handling of ITX/PEAR

◆ getLocalPath()

static ilYuiUtil::getLocalPath (   $a_name = "")
static

Get local path of a YUI js file.

Definition at line 437 of file class.ilYuiUtil.php.

Referenced by ilSCORM13Player\debugGUI(), ilCOPageHTMLExport\exportSupportScripts(), and ilObjContentObject\getSupplyingExportFiles().

438  {
439  return "./Services/YUI/js/".self::$ver."/".$a_name;
440  }
+ Here is the caller graph for this function:

◆ initAnimation()

static ilYuiUtil::initAnimation ( )
static

Init YUI Animation.

Definition at line 50 of file class.ilYuiUtil.php.

References $tpl.

Referenced by ilPropertyFormGUI\getContent().

51  {
52  global $tpl;
53 
54  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
55  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/animation/animation-min.js");
56  }
global $tpl
Definition: ilias.php:8
+ Here is the caller graph for this function:

◆ initAssessmentWizard()

static ilYuiUtil::initAssessmentWizard ( )
static

Init assessment wizard.

Definition at line 159 of file class.ilYuiUtil.php.

References $tpl.

160  {
161  global $tpl;
162 
163  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
164  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/element/element-min.js");
165  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/button/button-min.js");
166  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/container/container-min.js");
167  $tpl->addCss("./Services/YUI/js/".self::$ver."/button/assets/skins/sam/button.css");
168  self::addContainerCss();
169  }
global $tpl
Definition: ilias.php:8

◆ initButtonControl()

static ilYuiUtil::initButtonControl ( )
static

init button control In the moment used for calendar color picker button

public

Returns
void

Definition at line 317 of file class.ilYuiUtil.php.

References $tpl.

318  {
319  global $tpl;
320 
321  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
322  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/element/element-min.js");
323 
324  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/container/container_core-min.js");
325  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/menu/menu-min.js");
326 
327  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/button/button-min.js");
328 
329  $tpl->addCss("./Services/YUI/js/".self::$ver."/button/assets/skins/sam/button.css");
330  $tpl->addCss("./Services/YUI/js/".self::$ver."/menu/assets/skins/sam/menu.css");
331  }
global $tpl
Definition: ilias.php:8

◆ initCalendar()

static ilYuiUtil::initCalendar ( )
static

init calendar

public

Returns

Definition at line 298 of file class.ilYuiUtil.php.

References $tpl.

299  {
300  global $tpl;
301 
302  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
303  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/calendar/calendar-min.js");
304 
305  $tpl->addCss("./Services/YUI/js/".self::$ver."/calendar/assets/skins/sam/calendar.css");
306  $tpl->addCss("./Services/Calendar/css/calendar.css");
307  }
global $tpl
Definition: ilias.php:8

◆ initColorPicker()

static ilYuiUtil::initColorPicker ( )
static

init color picker button

public

Returns
void

Definition at line 340 of file class.ilYuiUtil.php.

References $tpl.

Referenced by ilColorPickerInputGUI\insert(), and ilTRBLColorPickerInputGUI\insert().

341  {
342  global $tpl;
343 
344  self::initButtonControl();
345 
346  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/dragdrop/dragdrop-min.js");
347  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/slider/slider-min.js");
348  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/colorpicker/colorpicker-min.js");
349 
350  $tpl->addCss('./Services/Form/css/color_picker.css');
351  $tpl->addCss("./Services/YUI/js/".self::$ver."/colorpicker/assets/skins/sam/colorpicker.css");
352  }
global $tpl
Definition: ilias.php:8
+ Here is the caller graph for this function:

◆ initConnection()

static ilYuiUtil::initConnection ( )
static

Init YUI Connection module.

Definition at line 19 of file class.ilYuiUtil.php.

References $tpl.

Referenced by ilBlockGUI\__construct(), ilAccordionGUI\addJavaScript(), ilPCDataTableGUI\editData(), ilPCDataTableGUI\editDataCl(), ilInternalLinkGUI\getInitHTML(), ilExplorer\getOutput(), ilCloudPluginInitGUI\initGUI(), ilMediaPlayerGUI\initJavascript(), ilTable2GUI\renderFilter(), ilAdvancedSelectionListGUI\setAsynch(), and ilPageObjectGUI\showPage().

20  {
21  global $tpl;
22  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
23  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/connection/connection-min.js");
24  }
global $tpl
Definition: ilias.php:8
+ Here is the caller graph for this function:

◆ initConnectionWithAnimation()

static ilYuiUtil::initConnectionWithAnimation ( )
static

Init YUI Connection module.

Definition at line 108 of file class.ilYuiUtil.php.

References $tpl.

Referenced by ilTestOutputGUI\executeCommand(), ilTestPlayerDynamicQuestionSetGUI\executeCommand(), and ilFlashFileInputGUI\insert().

109  {
110  global $tpl;
111 
112  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
113  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/animation/animation-min.js");
114  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/connection/connection-min.js");
115  }
global $tpl
Definition: ilias.php:8
+ Here is the caller graph for this function:

◆ initDom()

static ilYuiUtil::initDom ( )
static

Init YUI Dom.

Definition at line 39 of file class.ilYuiUtil.php.

References $tpl.

Referenced by ilPropertyFormGUI\getContent(), and ilTemplate\show().

40  {
41  global $tpl;
42 
43  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
44 
45  }
global $tpl
Definition: ilias.php:8
+ Here is the caller graph for this function:

◆ initDomEvent()

static ilYuiUtil::initDomEvent ( )
static

Init YUI DomEvent.

Definition at line 73 of file class.ilYuiUtil.php.

References $tpl.

Referenced by ilSetupGUI\__construct(), ilTestServiceGUI\getPassListOfAnswersWithScoring(), assTextQuestionGUI\getTestOutput(), ilCalendarAppointmentGUI\initForm(), ilObjSessionGUI\initForm(), and ilConsultationHoursGUI\initFormSequence().

74  {
75  global $tpl;
76 
77  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
78  }
global $tpl
Definition: ilias.php:8
+ Here is the caller graph for this function:

◆ initDragDrop()

static ilYuiUtil::initDragDrop ( )
static

Init YUI Drag and Drop.

Definition at line 61 of file class.ilYuiUtil.php.

References $tpl.

Referenced by ilHierarchyFormGUI\__construct(), ilPCDataTableGUI\editData(), ilPCDataTableGUI\editDataCl(), ilSurveyPageGUI\renderPage(), ilCalendarDayGUI\show(), ilCalendarWeekGUI\show(), ilCalendarMonthGUI\show(), and ilPageObjectGUI\showPage().

62  {
63  global $tpl;
64 
65  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
66  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/dragdrop/dragdrop-min.js");
67  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/element/element-min.js");
68  }
global $tpl
Definition: ilias.php:8
+ Here is the caller graph for this function:

◆ initDragDropAnimation()

static ilYuiUtil::initDragDropAnimation ( )
static

init drag & drop and animation

Definition at line 187 of file class.ilYuiUtil.php.

References $tpl.

188  {
189  global $tpl;
190 
191  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
192  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/animation/animation-min.js");
193  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/dragdrop/dragdrop-min.js");
194  }
global $tpl
Definition: ilias.php:8

◆ initDragDropList()

static ilYuiUtil::initDragDropList ( )
static

init drag & drop list

Definition at line 174 of file class.ilYuiUtil.php.

References $tpl.

175  {
176  global $tpl;
177 
178  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
179  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/animation/animation-min.js");
180  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/dragdrop/dragdrop-min.js");
181  $tpl->addCss("./Services/YUI/templates/default/DragDropList.css");
182  }
global $tpl
Definition: ilias.php:8

◆ initElementSelection()

static ilYuiUtil::initElementSelection ( )
static

init element selection

Definition at line 199 of file class.ilYuiUtil.php.

References $tpl.

200  {
201  global $tpl;
202 
203  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
204  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/element/element-min.js");
205  }
global $tpl
Definition: ilias.php:8

◆ initEvent()

static ilYuiUtil::initEvent ( )
static

Init YUI Event.

Definition at line 29 of file class.ilYuiUtil.php.

References $tpl.

Referenced by ilPropertyFormGUI\getContent().

30  {
31  global $tpl;
32 
33  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
34  }
global $tpl
Definition: ilias.php:8
+ Here is the caller graph for this function:

◆ initJson()

static ilYuiUtil::initJson ( )
static

Init YUI JSON component.

Author
jposs.nosp@m.elt@.nosp@m.datab.nosp@m.ay.d.nosp@m.e

Definition at line 371 of file class.ilYuiUtil.php.

References $tpl.

Referenced by ilChatroomBlockGUI\getHTML().

372  {
373  global $tpl;
374  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
375  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/json/json-min.js");
376  }
global $tpl
Definition: ilias.php:8
+ Here is the caller graph for this function:

◆ initLayout()

static ilYuiUtil::initLayout ( )
static

Init layout (alpha!)

Definition at line 381 of file class.ilYuiUtil.php.

References $tpl.

382  {
383  global $tpl;
384 
385  $tpl->addCss("./Services/YUI/js/".self::$ver."/assets/skins/sam/resize.css");
386  $tpl->addCss("./Services/YUI/js/".self::$ver."/assets/skins/sam/layout.css");
387 
388  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
389  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/dragdrop/dragdrop-min.js");
390  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/element/element-min.js");
391  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/animation/animation-min.js");
392  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/resize/resize-min.js");
393  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/layout/layout-min.js");
394  }
global $tpl
Definition: ilias.php:8

◆ initMenu()

static ilYuiUtil::initMenu ( )
static

Init YUI Menu module.

Definition at line 120 of file class.ilYuiUtil.php.

References $tpl.

121  {
122  global $tpl;
123 
124  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
125  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/container/container_core.js");
126  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/menu/menu-min.js");
127  $tpl->addCss("./Services/YUI/js/".self::$ver."/menu/assets/menu.css");
128  }
global $tpl
Definition: ilias.php:8

◆ initOverlay()

static ilYuiUtil::initOverlay ( )
static

Init YUI Overlay module.

Definition at line 133 of file class.ilYuiUtil.php.

References $tpl.

Referenced by ilTestScoringByQuestionsGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilOverlayGUI\initJavascript(), ilAssLacLegendGUI\initOverlay(), and ilScoringAdjustmentGUI\outputAdjustQuestionForm().

134  {
135  global $tpl;
136 
137  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
138  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/container/container_core-min.js");
139  self::addContainerCss();
140  }
global $tpl
Definition: ilias.php:8
+ Here is the caller graph for this function:

◆ initPanel()

static ilYuiUtil::initPanel (   $a_resize = false)
static

Init yui panel.

public

Parameters
void
Returns
void

Definition at line 87 of file class.ilYuiUtil.php.

References $tpl.

Referenced by ilTestScoringByQuestionsGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilPCDataTableGUI\editData(), ilPCDataTableGUI\editDataCl(), ilTaggingGUI\initJavascript(), ilNoteGUI\initJavascript(), ilLPObjectStatisticsLPTableGUI\initLearningProgressDetailsLayer(), ilScoringAdjustmentGUI\outputAdjustQuestionForm(), ilExplorerSelectInputGUI\render(), ilCalendarDayGUI\show(), ilCalendarWeekGUI\show(), ilCalendarMonthGUI\show(), and ilPageObjectGUI\showPage().

88  {
89  global $tpl;
90 
91  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
92  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/container/container-min.js");
93  self::addContainerCss();
94  $tpl->addCss("./Services/Calendar/css/panel_min.css");
95 
96  if ($a_resize)
97  {
98  $tpl->addCss("./Services/YUI/js/".self::$ver."/resize/assets/skins/sam/resize.css");
99  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/utilities/utilities-min.js");
100  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/resize/resize-min.js");
101  }
102 
103  }
global $tpl
Definition: ilias.php:8
+ Here is the caller graph for this function:

◆ initSimpleDialog()

static ilYuiUtil::initSimpleDialog ( )
static

Init YUI Simple Dialog.

Definition at line 145 of file class.ilYuiUtil.php.

References $tpl.

146  {
147  global $tpl;
148 
149  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
150  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/container/container-min.js");
151  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/dragdrop/dragdrop-min.js");
152  self::addContainerCss();
153  $tpl->addCss("./Services/YUI/templates/default/tpl.simpledialog.css");
154  }
global $tpl
Definition: ilias.php:8

◆ initTabView()

static ilYuiUtil::initTabView ( )
static

Init YUI TabView component.

Definition at line 357 of file class.ilYuiUtil.php.

References $tpl.

358  {
359  global $tpl;
360 
361  $tpl->addCss("./Services/YUI/js/".self::$ver."/tabview/assets/skins/sam/tabview.css");
362  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
363  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/element/element-min.js");
364  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/tabview/tabview-min.js");
365  }
global $tpl
Definition: ilias.php:8

◆ initTooltip()

static ilYuiUtil::initTooltip ( )
static

Init YUI Event.

Definition at line 411 of file class.ilYuiUtil.php.

References $tpl.

412  {
413  global $tpl;
414 
415  self::addContainerCss();
416  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/yahoo-dom-event/yahoo-dom-event.js");
417  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/animation/animation-min.js");
418  $tpl->addJavaScript("./Services/YUI/js/".self::$ver."/container/container-min.js");
419  }
global $tpl
Definition: ilias.php:8

◆ initTreeView()

static ilYuiUtil::initTreeView ( )
static

Init treeView.

Definition at line 399 of file class.ilYuiUtil.php.

References $tpl.

400  {
401  global $tpl;
402 
403  $tpl->addJavaScript(self::getLocalPath().'/yahoo/yahoo-min.js');
404  $tpl->addJavaScript(self::getLocalPath().'/event/event-min.js');
405  $tpl->addJavaScript(self::getLocalPath().'/treeview/treeview.js');
406  }
global $tpl
Definition: ilias.php:8

Field Documentation

◆ $ver

ilYuiUtil::$ver = "2_9_0"
staticprivate

Definition at line 14 of file class.ilYuiUtil.php.


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