ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilCOPageObjDef.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 1998-2012 ILIAS open source, Extended GPL, see docs/LICENSE */
4
12
class
ilCOPageObjDef
13
{
14
static
$page_obj_def
= null;
15
22
static
function
init
()
23
{
24
global
$ilDB
;
25
26
if
(self::$page_obj_def == null)
27
{
28
$set = $ilDB->query(
"SELECT * FROM copg_pobj_def "
);
29
while
($rec = $ilDB->fetchAssoc($set))
30
{
31
self::$page_obj_def[$rec[
"parent_type"
]] = $rec;
32
}
33
}
34
}
35
42
function
getDefinitions
()
43
{
44
self::init();
45
return
self::$page_obj_def;
46
}
47
54
static
function
getDefinitionByParentType
($a_parent_type)
55
{
56
self::init();
57
return
self::$page_obj_def[$a_parent_type];
58
}
59
60
}
61
62
?>
ilCOPageObjDef\getDefinitionByParentType
static getDefinitionByParentType($a_parent_type)
Get definition by parent type.
Definition:
class.ilCOPageObjDef.php:54
ilCOPageObjDef
COPage page object definition handler.
Definition:
class.ilCOPageObjDef.php:12
ilCOPageObjDef\$page_obj_def
static $page_obj_def
Definition:
class.ilCOPageObjDef.php:14
ilCOPageObjDef\init
static init()
Init.
Definition:
class.ilCOPageObjDef.php:22
$ilDB
global $ilDB
Definition:
storeScorm2004.php:16
php
ilCOPageObjDef\getDefinitions
getDefinitions()
Get definitions.
Definition:
class.ilCOPageObjDef.php:42
Services
COPage
classes
class.ilCOPageObjDef.php
Generated on Fri Feb 21 2025 19:01:10 for ILIAS by
1.8.13 (using
Doxyfile
)