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
class.ilObjectListGUIFactory.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
include_once
'./Services/Object/classes/class.ilObjectListGUI.php'
;
5
14
class
ilObjectListGUIFactory
15
{
16
public
static
function
_getListGUIByType
(
17
$type
,
18
$context
=
ilObjectListGUI::CONTEXT_REPOSITORY
19
) {
20
global
$DIC
;
21
22
$objDefinition = $DIC[
"objDefinition"
];
23
24
$class = $objDefinition->getClassName(
$type
);
25
$full_class =
"ilObj"
. $class .
"ListGUI"
;
26
if
(class_exists($full_class)) {
27
return
new
$full_class(
$context
);
28
}
29
30
// php7-todo JL: throw exception instead?
31
return
new
ilObjectListGUI
(
$context
);
32
}
33
}
// END class.ilObjectListGUIFactory
$context
$context
Definition:
webdav.php:26
$type
$type
Definition:
proxy_ylocal.php:10
ilObjectListGUI\CONTEXT_REPOSITORY
const CONTEXT_REPOSITORY
Definition:
class.ilObjectListGUI.php:64
ilObjectListGUIFactory\_getListGUIByType
static _getListGUIByType( $type, $context=ilObjectListGUI::CONTEXT_REPOSITORY)
Definition:
class.ilObjectListGUIFactory.php:16
ilObjectListGUI
Class ilObjectListGUI.
Definition:
class.ilObjectListGUI.php:23
$DIC
global $DIC
Definition:
goto.php:24
ilObjectListGUIFactory
Class ilObjectListGUIFactory.
Definition:
class.ilObjectListGUIFactory.php:14
Services
Object
classes
class.ilObjectListGUIFactory.php
Generated on Fri Apr 11 2025 21:01:37 for ILIAS by
1.8.13 (using
Doxyfile
)