ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilUIFramework Class Reference

UI framework utility class. More...

+ Collaboration diagram for ilUIFramework:

Public Member Functions

 getJSFiles ()
 Get javascript files.
 getCssFiles ()
 Get javascript files.
 init ($a_tpl=null)
 Init.

Detailed Description

UI framework utility class.

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

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

Member Function Documentation

ilUIFramework::getCssFiles ( )

Get javascript files.

Returns
array array of files

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

Referenced by init().

{
return array("./Services/UICore/lib/yamm3/yamm/yamm.css");
}

+ Here is the caller graph for this function:

ilUIFramework::getJSFiles ( )

Get javascript files.

Returns
array array of files

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

Referenced by init().

{
return array("./Services/UICore/lib/bootstrap-3.2.0/dist/js/bootstrap.min.js");
}

+ Here is the caller graph for this function:

ilUIFramework::init (   $a_tpl = null)

Init.

Parameters
ilTemplate$a_tpltemplate object

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

References $tpl, getCssFiles(), and getJSFiles().

Referenced by ilMailGUI\executeCommand(), ilSetupGUI\ilSetupGUI(), and ilLMPresentationGUI\layout().

{
global $tpl;
if ($a_tpl == null)
{
$a_tpl = $tpl;
}
foreach (ilUIFramework::getJSFiles() as $f)
{
$a_tpl->addJavaScript($f, true, 1);
}
foreach (ilUIFramework::getCssFiles() as $f)
{
$a_tpl->addCss($f);
}
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


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