ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilGlobalTemplate.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3 namespace LTI;
4 
5 include_once("./Services/UICore/lib/html-it/IT.php");
6 include_once("./Services/UICore/lib/html-it/ITX.php");
7 require_once("./Services/UICore/classes/class.ilTemplate.php");
8 
15 {
16  public function __construct(
17  $file,
18  $flag1,
19  $flag2,
20  $in_module = false,
21  $vars = "DEFAULT",
22  $plugin = false,
23  $a_use_cache = false
24  ) {
26  $file,
27  $flag1,
28  $flag2,
29  $in_module,
30  $vars,
31  $plugin,
32  $a_use_cache
33  );
34  }
35 
36  public function getMainMenu()
37  {
38  global $ilMainMenu;
39  //$ilMainMenu->setLoginTargetPar($this->getLoginTargetPar());
40  $this->main_menu = $ilMainMenu->getHTML();
41  $this->main_menu_spacer = $ilMainMenu->getSpacerClass();
42  }
43 }
special template class to simplify handling of ITX/PEAR
__construct( $file, $flag1, $flag2, $in_module=false, $vars="DEFAULT", $plugin=false, $a_use_cache=false)
__construct(Container $dic, ilPlugin $plugin)