ILIAS
trunk Revision v11.0_alpha-1731-gff9cd7e2bd3
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
class.ilCOPageObjDef.php
Go to the documentation of this file.
1
<?php
2
23
class
ilCOPageObjDef
24
{
25
public
static
?array
$page_obj_def
=
null
;
26
27
public
static
function
init
(): void
28
{
29
global
$DIC
;
30
31
$db = $DIC->database();
32
33
if
(self::$page_obj_def ==
null
) {
34
$set = $db->query(
"SELECT * FROM copg_pobj_def "
);
35
while
($rec = $db->fetchAssoc($set)) {
36
self::$page_obj_def[$rec[
"parent_type"
]] = $rec;
37
}
38
}
39
}
40
44
public
function
getDefinitions
(): array
45
{
46
self::init
();
47
return
self::$page_obj_def;
48
}
49
53
public
static
function
getDefinitionByParentType
(
string
$a_parent_type): array
54
{
55
self::init
();
56
return
self::$page_obj_def[$a_parent_type];
57
}
58
}
ilCOPageObjDef
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilCOPageObjDef.php:23
ilCOPageObjDef\getDefinitionByParentType
static getDefinitionByParentType(string $a_parent_type)
Get definition by parent type.
Definition:
class.ilCOPageObjDef.php:53
ilCOPageObjDef\$page_obj_def
static array $page_obj_def
Definition:
class.ilCOPageObjDef.php:25
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:142
$DIC
global $DIC
Definition:
shib_login.php:22
ilCOPageObjDef\init
static init()
Definition:
class.ilCOPageObjDef.php:27
ilCOPageObjDef\getDefinitions
getDefinitions()
Get all definitios.
Definition:
class.ilCOPageObjDef.php:44
init
init()
Definition:
ilPRGCertificateHelper.php:29
components
ILIAS
COPage
classes
class.ilCOPageObjDef.php
Generated on Mon Apr 7 2025 23:03:11 for ILIAS by
1.8.13 (using
Doxyfile
)