ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
ilTemplateWrapper.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 2016 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
5
namespace
ILIAS\UI\Implementation\Render
;
6
10
class
ilTemplateWrapper
implements
Template
11
{
15
protected
$global_tpl
;
16
20
private
$tpl
;
21
22
final
public
function
__construct
(\
ilGlobalTemplateInterface
$global_tpl
, \
ilTemplate
$tpl
)
23
{
24
$this->global_tpl =
$global_tpl
;
25
$this->tpl =
$tpl
;
26
}
27
31
public
function
setCurrentBlock
(
$name
)
32
{
33
return
$this->tpl->setCurrentBlock(
$name
);
34
}
35
39
public
function
parseCurrentBlock
()
40
{
41
return
$this->tpl->parseCurrentBlock();
42
}
43
47
public
function
touchBlock
(
$name
)
48
{
49
return
$this->tpl->touchBlock(
$name
);
50
}
51
55
public
function
setVariable
(
$name
, $value)
56
{
57
return
$this->tpl->setVariable(
$name
, $value);
58
}
59
63
public
function
get
($block = null)
64
{
65
if
($block === null) {
66
$block =
"__global__"
;
67
}
68
return
$this->tpl->get($block);
69
}
70
74
public
function
addOnLoadCode
($code)
75
{
76
return
$this->global_tpl->addOnLoadCode($code);
77
}
78
}
ilTemplate
ILIAS\UI\Implementation\Render\ilTemplateWrapper\$tpl
$tpl
Definition:
ilTemplateWrapper.php:20
ILIAS\UI\Implementation\Render\ilTemplateWrapper\parseCurrentBlock
parseCurrentBlock()
Definition:
ilTemplateWrapper.php:39
ILIAS\UI\Implementation\Render\ilTemplateWrapper\setCurrentBlock
setCurrentBlock($name)
Definition:
ilTemplateWrapper.php:31
$name
if($format !==null) $name
Definition:
metadata.php:230
ILIAS\UI\Implementation\Render
Definition:
AbstractComponentRenderer.php:5
ilGlobalTemplateInterface
Created by PhpStorm.
Definition:
interface.ilGlobalTemplateInterface.php:16
Template
ILIAS\UI\Implementation\Render\ilTemplateWrapper\setVariable
setVariable($name, $value)
Definition:
ilTemplateWrapper.php:55
ILIAS\UI\Implementation\Render\ilTemplateWrapper
Wraps an ilTemplate to only provide smaller interface.
Definition:
ilTemplateWrapper.php:10
ILIAS\UI\Implementation\Render\ilTemplateWrapper\addOnLoadCode
addOnLoadCode($code)
Definition:
ilTemplateWrapper.php:74
ILIAS\UI\Implementation\Render\ilTemplateWrapper\$global_tpl
$global_tpl
Definition:
ilTemplateWrapper.php:15
ILIAS\UI\Implementation\Render\ilTemplateWrapper\__construct
__construct(\ilGlobalTemplateInterface $global_tpl, \ilTemplate $tpl)
Definition:
ilTemplateWrapper.php:22
ILIAS\UI\Implementation\Render\ilTemplateWrapper\touchBlock
touchBlock($name)
Definition:
ilTemplateWrapper.php:47
src
UI
Implementation
Render
ilTemplateWrapper.php
Generated on Tue Apr 8 2025 20:01:35 for ILIAS by
1.8.13 (using
Doxyfile
)