ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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 */
3namespace LTI;
4
5include_once("./Services/UICore/lib/html-it/IT.php");
6include_once("./Services/UICore/lib/html-it/ITX.php");
7require_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}
An exception for terminatinating execution or to throw for unit testing.
special template class to simplify handling of ITX/PEAR
__construct( $file, $flag1, $flag2, $in_module=false, $vars="DEFAULT", $plugin=false, $a_use_cache=false)
constructor
special template class to simplify handling of ITX/PEAR
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc