ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ 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
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
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
TreeToolItemRenderer.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
namespace
ILIAS\GlobalScreen\Scope\Tool\Collector\Renderer
;
21
22
use
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer
;
23
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
;
24
use
ILIAS\GlobalScreen\Scope\Tool\Factory\TreeTool
;
25
use
ILIAS\UI\Component\Component
;
26
31
class
TreeToolItemRenderer
extends
BaseTypeRenderer
32
{
38
public
function
getComponentForItem
(
isItem
$item,
bool
$with_content =
false
) :
Component
39
{
40
global
$DIC
;
45
$symbol = $this->
getStandardSymbol
($item);
46
47
return
$this->ui_factory->mainControls()->slate()->legacy($item->getTitle(), $symbol, $this->ui_factory->legacy($DIC->ui()->renderer()->render([$item->getTree()])));
48
}
49
}
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer
Class BaseTypeRenderer.
Definition:
BaseTypeRenderer.php:40
ILIAS\UI\Component
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
Interface IFactory.
Definition:
isItem.php:31
Component
ILIAS\GlobalScreen\Scope\Tool\Collector\Renderer
Definition:
ToolItemRenderer.php:21
$DIC
global $DIC
Definition:
goto.php:24
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\getStandardSymbol
getStandardSymbol(isItem $item)
Definition:
BaseTypeRenderer.php:112
isItem
TreeTool
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\getComponentForItem
getComponentForItem(isItem $item, bool $with_content=true)
Definition:
BaseTypeRenderer.php:73
ILIAS\GlobalScreen\Scope\Tool\Collector\Renderer\TreeToolItemRenderer
Class TreeToolItemRenderer.
Definition:
TreeToolItemRenderer.php:31
BaseTypeRenderer
src
GlobalScreen
Scope
Tool
Collector
Renderer
TreeToolItemRenderer.php
Generated on Sat Apr 5 2025 21:01:45 for ILIAS by
1.8.13 (using
Doxyfile
)