ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilObjLearningModuleGUI.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2012 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once(
"./Modules/LearningModule/classes/class.ilObjContentObjectGUI.php"
);
5
20
class
ilObjLearningModuleGUI
extends
ilObjContentObjectGUI
21
{
22
var
$object
;
27
function
__construct
($a_data,$a_id = 0,$a_call_by_reference =
true
, $a_prepare_output =
true
)
28
{
29
$this->type =
"lm"
;
30
31
parent::__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
32
33
# BETTER DO IT HERE THAN IN PARENT CLASS ( PROBLEMS FOR import, create)
34
$this->
assignObject
();
35
36
// SAME REASON
37
if
($a_id != 0)
38
{
39
$this->lm_tree = $this->
object
->getLMTree();
40
}
41
}
42
43
function
assignObject
()
44
{
45
include_once(
"./Modules/LearningModule/classes/class.ilObjLearningModule.php"
);
46
47
$this->link_params =
"ref_id="
.$this->ref_id;
48
$this->
object
=
new
ilObjLearningModule
($this->
id
,
true
);
49
}
50
51
/*
52
function setLearningModuleObject(&$a_lm_obj)
53
{
54
$this->lm_obj =& $a_lm_obj;
55
//$this->obj =& $this->lm_obj;
56
}*/
57
58
// MOVED ALL *style METHODS TO base class
59
60
function
view
()
61
{
62
if
(strtolower(
$_GET
[
"baseClass"
]) ==
"iladministrationgui"
)
63
{
64
$this->
prepareOutput
();
65
parent::viewObject();
66
}
67
else
68
{
69
$this->
properties
();
70
}
71
}
72
73
}
74
75
?>
ilObjLearningModuleGUI\__construct
__construct($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true)
Constructor public.
Definition:
class.ilObjLearningModuleGUI.php:27
ilObjLearningModule
Class ilObjLearningModule.
Definition:
class.ilObjLearningModule.php:15
$_GET
$_GET["client_id"]
Definition:
cfg.phpunit.template.php:12
ilObjLearningModuleGUI
Class ilLearningModuleGUI.
Definition:
class.ilObjLearningModuleGUI.php:20
ilObjectGUI\prepareOutput
prepareOutput($a_show_subobjects=true)
prepare output
Definition:
class.ilObjectGUI.php:254
ilObjContentObjectGUI\properties
properties()
edit properties form
Definition:
class.ilObjContentObjectGUI.php:375
ilObjLearningModuleGUI\$object
$object
Definition:
class.ilObjLearningModuleGUI.php:22
ilObjContentObjectGUI
Class ilObjContentObjectGUI.
Definition:
class.ilObjContentObjectGUI.php:21
php
ilObjLearningModuleGUI\assignObject
assignObject()
Definition:
class.ilObjLearningModuleGUI.php:43
ilObjLearningModuleGUI\view
view()
Definition:
class.ilObjLearningModuleGUI.php:60
Modules
LearningModule
classes
class.ilObjLearningModuleGUI.php
Generated on Fri Jan 24 2025 19:00:58 for ILIAS by
1.8.13 (using
Doxyfile
)